summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-12 16:36:45 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-12 19:19:52 +0200
commitafba018898ae54b498e82b3cd4d2b61c74032c90 (patch)
treef5be3d82e08bda045e2490bd7ee55a4bf14642cd /drivers/gpu/drm/i915/i915_reg.h
parent172cf15d18889313bf2c3bfb81fcea08369274ef (diff)
downloadlwn-afba018898ae54b498e82b3cd4d2b61c74032c90.tar.gz
lwn-afba018898ae54b498e82b3cd4d2b61c74032c90.zip
drm/i915: ensure HDMI port is disabled inside set_infoframes
This function is supposed to be used at mode set time, so prevent against future mistakes by adding a WARN(). Based on a patch by Paulo Zanoni, with the check extracted into a little assert_hdmi_port_disabled helper added to make things self documenting and move the assert stuff out of line. [fixed up spelling goof-up while applying.] Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
0 files changed, 0 insertions, 0 deletions