]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/intel_display.c
drm/i915: simplify intel_crtc_driving_pch
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 25 Oct 2012 12:37:43 +0000 (10:37 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Oct 2012 08:24:44 +0000 (10:24 +0200)
commitfc316cbe4692fc0da19dfc9a87db270964d3d056
treeced5f6f8b7c02c43b4eea349c4df62cb2d59aaf3
parent1f544388be50653aec6334cefc4955a3588ae679
drm/i915: simplify intel_crtc_driving_pch

By forking Ironlake and Haswell functions. The only callers are
{ironlake,haswell}_crtc_enable anyway, and this way we won't need to
add other checks on the Haswell version for the next gens.

V2: Even simpler, as pointed by Jani Nikula.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c