summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä2018-09-07 17:24:12 +0200
committerVille Syrjälä2018-09-12 17:03:57 +0200
commit25721f820bebfb901ae66523332ddd9bcb568821 (patch)
tree4c107e0116dd5070b256f262fae2cee65e6b6dbe /drivers/gpu/drm/i915/intel_drv.h
parentdrm/i915: Move display w/a #1175 (diff)
downloadkernel-qcow2-linux-25721f820bebfb901ae66523332ddd9bcb568821.tar.gz
kernel-qcow2-linux-25721f820bebfb901ae66523332ddd9bcb568821.tar.xz
kernel-qcow2-linux-25721f820bebfb901ae66523332ddd9bcb568821.zip
drm/i915: Move chv rotation checks to plane->check()
Move the chv rotation vs. reflections checks to the plane->check() hook, away from the (now) platform agnostic intel_plane_atomic_check_with_state(). Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180907152413.15761-13-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index d72d5a66c05f..521d6aaa2d44 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -2139,6 +2139,7 @@ unsigned int skl_plane_max_stride(struct intel_plane *plane,
int skl_plane_check(struct intel_crtc_state *crtc_state,
struct intel_plane_state *plane_state);
int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state);
+int chv_plane_check_rotation(const struct intel_plane_state *plane_state);
/* intel_tv.c */
void intel_tv_init(struct drm_i915_private *dev_priv);