Searched refs:intel_plane (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_sprite.c190 struct intel_plane *intel_plane = to_intel_plane(drm_plane); skl_update_plane() local
192 const int pipe = intel_plane->pipe; skl_update_plane()
193 const int plane = intel_plane->plane + 1; skl_update_plane()
241 surf_addr = intel_plane_obj_offset(intel_plane, obj, 0); skl_update_plane()
292 struct intel_plane *intel_plane = to_intel_plane(dplane); skl_disable_plane() local
293 const int pipe = intel_plane->pipe; skl_disable_plane()
294 const int plane = intel_plane->plane + 1; skl_disable_plane()
305 chv_update_csc(struct intel_plane *intel_plane, uint32_t format) chv_update_csc() argument
307 struct drm_i915_private *dev_priv = intel_plane->base.dev->dev_private; chv_update_csc()
308 int plane = intel_plane->plane; chv_update_csc()
353 struct intel_plane *intel_plane = to_intel_plane(dplane); vlv_update_plane() local
355 int pipe = intel_plane->pipe; vlv_update_plane()
356 int plane = intel_plane->plane; vlv_update_plane()
449 chv_update_csc(intel_plane, fb->pixel_format); vlv_update_plane()
473 struct intel_plane *intel_plane = to_intel_plane(dplane); vlv_disable_plane() local
474 int pipe = intel_plane->pipe; vlv_disable_plane()
475 int plane = intel_plane->plane; vlv_disable_plane()
493 struct intel_plane *intel_plane = to_intel_plane(plane); ivb_update_plane() local
495 enum pipe pipe = intel_plane->pipe; ivb_update_plane()
600 if (intel_plane->can_scale) ivb_update_plane()
613 struct intel_plane *intel_plane = to_intel_plane(plane); ivb_disable_plane() local
614 int pipe = intel_plane->pipe; ivb_disable_plane()
618 if (intel_plane->can_scale) ivb_disable_plane()
635 struct intel_plane *intel_plane = to_intel_plane(plane); ilk_update_plane() local
637 int pipe = intel_plane->pipe; ilk_update_plane()
742 struct intel_plane *intel_plane = to_intel_plane(plane); ilk_disable_plane() local
743 int pipe = intel_plane->pipe; ilk_disable_plane()
761 struct intel_plane *intel_plane = to_intel_plane(plane); intel_check_sprite_plane() local
780 if (intel_plane->pipe != intel_crtc->pipe) { intel_check_sprite_plane()
804 can_scale = intel_plane->can_scale; intel_check_sprite_plane()
805 max_scale = intel_plane->max_downscale << 16; intel_check_sprite_plane()
806 min_scale = intel_plane->can_scale ? 1 : (1 << 16); intel_check_sprite_plane()
936 struct intel_plane *intel_plane = to_intel_plane(plane); intel_commit_sprite_plane() local
945 intel_plane->update_plane(plane, crtc, fb, intel_commit_sprite_plane()
954 intel_plane->disable_plane(plane, crtc); intel_commit_sprite_plane()
1059 struct intel_plane *intel_plane; intel_plane_init() local
1069 intel_plane = kzalloc(sizeof(*intel_plane), GFP_KERNEL); intel_plane_init()
1070 if (!intel_plane) intel_plane_init()
1073 state = intel_create_plane_state(&intel_plane->base); intel_plane_init()
1075 kfree(intel_plane); intel_plane_init()
1078 intel_plane->base.state = &state->base; intel_plane_init()
1083 intel_plane->can_scale = true; intel_plane_init()
1084 intel_plane->max_downscale = 16; intel_plane_init()
1085 intel_plane->update_plane = ilk_update_plane; intel_plane_init()
1086 intel_plane->disable_plane = ilk_disable_plane; intel_plane_init()
1100 intel_plane->can_scale = true; intel_plane_init()
1101 intel_plane->max_downscale = 2; intel_plane_init()
1103 intel_plane->can_scale = false; intel_plane_init()
1104 intel_plane->max_downscale = 1; intel_plane_init()
1108 intel_plane->update_plane = vlv_update_plane; intel_plane_init()
1109 intel_plane->disable_plane = vlv_disable_plane; intel_plane_init()
1114 intel_plane->update_plane = ivb_update_plane; intel_plane_init()
1115 intel_plane->disable_plane = ivb_disable_plane; intel_plane_init()
1122 intel_plane->can_scale = true; intel_plane_init()
1123 intel_plane->update_plane = skl_update_plane; intel_plane_init()
1124 intel_plane->disable_plane = skl_disable_plane; intel_plane_init()
1131 kfree(intel_plane); intel_plane_init()
1135 intel_plane->pipe = pipe; intel_plane_init()
1136 intel_plane->plane = plane; intel_plane_init()
1137 intel_plane->frontbuffer_bit = INTEL_FRONTBUFFER_SPRITE(pipe, plane); intel_plane_init()
1138 intel_plane->check_plane = intel_check_sprite_plane; intel_plane_init()
1139 intel_plane->commit_plane = intel_commit_sprite_plane; intel_plane_init()
1141 ret = drm_universal_plane_init(dev, &intel_plane->base, possible_crtcs, intel_plane_init()
1146 kfree(intel_plane); intel_plane_init()
1150 intel_create_rotation_property(dev, intel_plane); intel_plane_init()
1152 drm_plane_helper_add(&intel_plane->base, &intel_plane_helper_funcs); intel_plane_init()
H A Dintel_atomic_plane.c112 struct intel_plane *intel_plane = to_intel_plane(plane); intel_plane_atomic_check() local
182 ret = intel_plane->check_plane(plane, crtc_state, intel_state); intel_plane_atomic_check()
192 struct intel_plane *intel_plane = to_intel_plane(plane); intel_plane_atomic_update() local
196 intel_plane->commit_plane(plane, intel_state); intel_plane_atomic_update()
H A Dintel_atomic.c137 struct intel_plane *intel_plane; intel_atomic_setup_scalers() local
213 intel_plane = to_intel_plane(plane); intel_atomic_setup_scalers()
217 if (WARN_ON(intel_plane->pipe != intel_crtc->pipe)) { intel_atomic_setup_scalers()
H A Dintel_pm.c928 static uint16_t vlv_compute_wm_level(struct intel_plane *plane, vlv_compute_wm_level()
969 struct intel_plane *plane; vlv_compute_fifo()
1040 struct intel_plane *plane; vlv_invert_wms()
1070 struct intel_plane *plane; vlv_compute_wm()
1172 struct intel_plane *plane; vlv_pipe_set_fifo_size()
1984 struct intel_plane *intel_plane; ilk_compute_wm_level() local
1996 for_each_intel_plane_on_crtc(dev_priv->dev, intel_crtc, intel_plane) { ilk_compute_wm_level()
1998 to_intel_plane_state(intel_plane->base.state); ilk_compute_wm_level()
2000 switch (intel_plane->base.type) { ilk_compute_wm_level()
2303 struct intel_plane *intel_plane; intel_compute_pipe_wm() local
2312 for_each_intel_plane_on_crtc(dev, intel_crtc, intel_plane) { for_each_intel_plane_on_crtc()
2313 if (intel_plane->base.type == DRM_PLANE_TYPE_OVERLAY) { for_each_intel_plane_on_crtc()
2314 sprstate = to_intel_plane_state(intel_plane->base.state); for_each_intel_plane_on_crtc()
3068 struct intel_plane *intel_plane = to_intel_plane(plane); skl_compute_wm_global_parameters() local
3070 config->sprites_enabled |= intel_plane->wm.enabled; skl_compute_wm_global_parameters()
3071 config->sprites_scaled |= intel_plane->wm.scaled; skl_compute_wm_global_parameters()
3126 struct intel_plane *intel_plane = to_intel_plane(plane); skl_compute_wm_pipe_parameters() local
3128 if (intel_plane->pipe == pipe && skl_compute_wm_pipe_parameters()
3130 p->plane[i++] = intel_plane->wm; skl_compute_wm_pipe_parameters()
3662 struct intel_plane *intel_plane = to_intel_plane(plane); skl_update_sprite_wm() local
3665 intel_plane->wm.enabled = enabled; skl_update_sprite_wm()
3666 intel_plane->wm.scaled = scaled; skl_update_sprite_wm()
3667 intel_plane->wm.horiz_pixels = sprite_width; skl_update_sprite_wm()
3668 intel_plane->wm.vert_pixels = sprite_height; skl_update_sprite_wm()
3669 intel_plane->wm.tiling = DRM_FORMAT_MOD_NONE; skl_update_sprite_wm()
3672 intel_plane->wm.bytes_per_pixel = skl_update_sprite_wm()
3675 intel_plane->wm.y_bytes_per_pixel = skl_update_sprite_wm()
3684 intel_plane->wm.tiling = fb->modifier[0]; skl_update_sprite_wm()
3685 intel_plane->wm.rotation = plane->state->rotation; skl_update_sprite_wm()
3743 struct intel_plane *intel_plane = to_intel_plane(plane); ilk_update_sprite_wm() local
3753 intel_wait_for_vblank(dev, intel_plane->pipe); ilk_update_sprite_wm()
3999 struct intel_plane *plane; vlv_wm_get_hw_state()
H A Dintel_drv.h613 struct intel_plane { struct
675 #define to_intel_plane(x) container_of(x, struct intel_plane, base)
1108 struct intel_plane *plane);
1181 unsigned long intel_plane_obj_offset(struct intel_plane *intel_plane,
H A Dintel_display.c2612 struct intel_plane *intel_plane = to_intel_plane(primary); intel_find_initial_plane_obj() local
2659 intel_plane->disable_plane(primary, &intel_crtc->base);
2953 unsigned long intel_plane_obj_offset(struct intel_plane *intel_plane, intel_plane_obj_offset() argument
2961 if (intel_rotation_90_or_270(intel_plane->base.state->rotation)) intel_plane_obj_offset()
3226 struct intel_plane *plane = to_intel_plane(crtc->primary); for_each_crtc()
4470 struct intel_plane *intel_plane = skl_update_scaler_plane() local
4478 intel_plane->base.base.id, intel_crtc->pipe, skl_update_scaler_plane()
4479 drm_plane_index(&intel_plane->base)); skl_update_scaler_plane()
4482 drm_plane_index(&intel_plane->base), skl_update_scaler_plane()
4496 intel_plane->base.base.id); skl_update_scaler_plane()
4516 intel_plane->base.base.id, fb->base.id, fb->pixel_format); skl_update_scaler_plane()
4845 struct intel_plane *plane = to_intel_plane(p); intel_pre_plane_update()
12002 struct intel_plane *intel_plane; intel_dump_pipe_config() local
12100 intel_plane = to_intel_plane(plane); intel_dump_pipe_config()
12101 if (intel_plane->pipe != crtc->pipe) intel_dump_pipe_config()
12110 plane->base.id, intel_plane->pipe, intel_dump_pipe_config()
12111 (crtc->base.primary == plane) ? 0 : intel_plane->plane + 1, intel_dump_pipe_config()
12118 plane->base.id, intel_plane->pipe, intel_dump_pipe_config()
12119 crtc->base.primary == plane ? 0 : intel_plane->plane + 1, intel_dump_pipe_config()
13456 struct intel_plane *intel_plane = to_intel_plane(plane); intel_prepare_plane_fb() local
13477 i915_gem_track_fb(old_obj, obj, intel_plane->frontbuffer_bit); intel_prepare_plane_fb()
13645 struct intel_plane *intel_plane = to_intel_plane(plane); intel_plane_destroy() local
13647 kfree(intel_plane); intel_plane_destroy()
13665 struct intel_plane *primary; intel_primary_plane_create()
13720 void intel_create_rotation_property(struct drm_device *dev, struct intel_plane *plane) intel_create_rotation_property()
13835 struct intel_plane *cursor; intel_cursor_plane_create()
15066 struct intel_plane *plane; intel_sanitize_crtc()
15239 static bool primary_get_hw_state(struct intel_plane *plane) primary_get_hw_state()
15435 struct intel_plane *plane; intel_display_resume()
H A Di915_drv.h283 #define for_each_intel_plane(dev, intel_plane) \
284 list_for_each_entry(intel_plane, \
288 #define for_each_intel_plane_on_crtc(dev, intel_crtc, intel_plane) \
289 list_for_each_entry(intel_plane, \
292 if ((intel_plane)->pipe == (intel_crtc)->pipe)

Completed in 284 milliseconds