OSDN Git Service

drm/i915/display/icl: Bump up the hdisplay and vdisplay as per transcoder limits
authorManasi Navare <manasi.d.navare@intel.com>
Fri, 12 Jul 2019 20:22:13 +0000 (13:22 -0700)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 13 Sep 2019 13:32:06 +0000 (15:32 +0200)
commit12a97df00e2aa6fb2200a8935e78f3e00fab4eb2
treef46cea23d25f87c87d7ac84b5d8cdf739d5feac3
parentc8185520aed6faab58b310f573790badfca27981
drm/i915/display/icl: Bump up the hdisplay and vdisplay as per transcoder limits

On ICL+, the vertical limits for the transcoders are increased to 8192
and horizontal limits are bumped to 16K so bump up
limits in intel_mode_valid()

v4:
* Increase the hdisplay to 16K (Ville)
v3:
* Supported starting ICL (Ville)
* Use the higher limits from TRANS_VTOTAL register (Ville)
v2:
* Checkpatch warning (Manasi)

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712202214.3906-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_display.c