summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_fb.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2021-05-06 19:19:28 +0300
committerImre Deak <imre.deak@intel.com>2021-05-07 11:13:01 +0300
commitd3b4aa43eea3aebea51bfb02ca5ce93df0abc9c4 (patch)
treef5da2f0ead8d6e5efeae03c1863de9804da14195 /drivers/gpu/drm/i915/display/intel_fb.h
parent2ac5620fbe31d4a2364b82390deaf59892a0d4f4 (diff)
downloadlinux-d3b4aa43eea3aebea51bfb02ca5ce93df0abc9c4.tar.gz
linux-d3b4aa43eea3aebea51bfb02ca5ce93df0abc9c4.tar.bz2
linux-d3b4aa43eea3aebea51bfb02ca5ce93df0abc9c4.zip
drm/i915/adl_p: Disable support for 90/270 FB rotation
The latest specification removed the support for 90/270 FB rotation on ADL_P, even though legacy Y-tiled surfaces are supported. Align the code accordingly. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210506161930.309688-9-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_fb.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_fb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fb.h b/drivers/gpu/drm/i915/display/intel_fb.h
index 7cec77bb5046..d77d9f914cf4 100644
--- a/drivers/gpu/drm/i915/display/intel_fb.h
+++ b/drivers/gpu/drm/i915/display/intel_fb.h
@@ -45,6 +45,8 @@ u32 intel_plane_compute_aligned_offset(int *x, int *y,
const struct intel_plane_state *state,
int color_plane);
+bool intel_fb_supports_90_270_rotation(const struct intel_framebuffer *fb);
+
int intel_fill_fb_info(struct drm_i915_private *i915, struct intel_framebuffer *fb);
void intel_fb_fill_view(const struct intel_framebuffer *fb, unsigned int rotation,
struct intel_fb_view *view);