]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915/glk: Fix dotclock calculation in skl_check_pipe_max_pixel_rate
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 1 Jun 2017 10:34:13 +0000 (12:34 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 1 Jun 2017 10:53:12 +0000 (12:53 +0200)
commit789f35d70c33b5c3809907d586f080c62ada7365
treec21ab397957a8af7c81b38db5156dff2c7d018d8
parentcb60606d835ca8b2f744835116bcabe64ce88849
drm/i915/glk: Fix dotclock calculation in skl_check_pipe_max_pixel_rate

Seems that GLK has a dotclock that's twice the display clock.
skl_max_scale checks for IS_GEMINILAKE, so perform the same check here.

While at it, change the DRM_ERROR to DEBUG_KMS.

Fixes: 73b0ca8ec76d ("drm/i915/skl+: consider max supported plane pixel
rate while scaling")
Cc: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170601103413.7037-1-maarten.lankhorst@linux.intel.com
Reviewed-by: Mahesh Kumar <mahesh1.kumar@intel.com>
drivers/gpu/drm/i915/intel_pm.c