]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove PCH type checks from ironlake_crtc_compute_clock()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 21 Mar 2016 16:00:08 +0000 (18:00 +0200)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Wed, 23 Mar 2016 12:22:17 +0000 (14:22 +0200)
commit325691b497a1e96e06ca610bba940811d2cd7476
tree0ba51f85cd37c91bb6f9cea95e0ff7f05487db25
parent43a628f49b5313120eee526fb83fee1b23a097a5
drm/i915: Remove PCH type checks from ironlake_crtc_compute_clock()

The checks were added in commit fe31942e3daf ("drm/i915: add proper
CPU/PCH checks to crtc_mode_set functions") in a time when there was
doubts on what PCHs would be supported by HSW. There are similar checks
for PCH type in intel_detect_pch() and the function pointers are
initialized based on platform/pch information, so the removed WARN can't
ever be reached.

v2: Rebase without patch that drops lvds downclock code. (Ville)
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458576016-30348-8-git-send-email-ander.conselvan.de.oliveira@intel.com
drivers/gpu/drm/i915/intel_display.c