aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorVidya Srinivas <vidya.srinivas@intel.com>2021-12-02 16:38:36 +0530
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-12-02 14:54:28 +0200
commit0e959b4e993b095641f405972bc56d8aa72eadb6 (patch)
treefc2dd1662f7de1d11f2f223cba2dceb83379e6b2 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915/display: remove intel_wait_for_vblank() (diff)
downloadlinux-dev-0e959b4e993b095641f405972bc56d8aa72eadb6.tar.xz
linux-dev-0e959b4e993b095641f405972bc56d8aa72eadb6.zip
drm/i915: Add PLANE_CUS_CTL restriction in max_width
PLANE_CUS_CTL has a restriction of 4096 width even though PLANE_SIZE and scaler size registers supports max 5120. Take care of this restriction in max_width. Without this patch, when 5k content is sent on HDR plane with NV12 content, FIFO underrun is seen and screen blanks out. v2: Addressed review comments from Ville. Added separate functions for max_width - for HDR and SDR v3: Addressed review comments from Ville. Changed names of HDR and SDR max_width functions to icl_hdr_plane_max_width and icl_sdr_plane_max_width v4: Fixed paranthesis alignment. No code change Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com> [vsyrjala: Fix alignment] Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211202110836.17536-1-vidya.srinivas@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions