drm/i915: clear crt hotplug compare voltage field before setting
Noticed while reviewing the hotplug irq setup code. Just looks better. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
ed23abdd64
commit
85fc95ba85
|
@ -2775,6 +2775,7 @@ static void i915_hpd_irq_setup(struct drm_device *dev)
|
|||
*/
|
||||
if (IS_G4X(dev))
|
||||
hotplug_en |= CRT_HOTPLUG_ACTIVATION_PERIOD_64;
|
||||
hotplug_en &= ~CRT_HOTPLUG_VOLTAGE_COMPARE_MASK;
|
||||
hotplug_en |= CRT_HOTPLUG_VOLTAGE_COMPARE_50;
|
||||
|
||||
/* Ignore TV since it's buggy */
|
||||
|
|
Loading…
Reference in New Issue