]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow downscale factor of <3.0 on glk+ for all formats
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Sep 2019 19:31:55 +0000 (22:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2019 11:48:58 +0000 (14:48 +0300)
commita5de3cfb4c6af37b74cb7857c1a5235b0f025e98
treeb37b620a5ae67bdd64431739f5f5e910a46f571c
parentd9934d0b518032dc74dcb6ed1a4c59334b7a13db
drm/i915: Allow downscale factor of <3.0 on glk+ for all formats

Bspec says that glk+ max downscale factor is <3.0 for all pixel formats.
Older platforms had a max of <2.0 for NV12. Update the code to deal with
this.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190913193157.9556-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c