uxa: Do not change DPMS mode on unconnected outputs
The operation is in theory redundant, and in the case of Haswell where we have multiple outputs aliasing to the same encoder, actually harmful. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68030 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Tested-by: Stefan Dirsch <sndirsch@suse.de>
This commit is contained in:
parent
63a070a31a
commit
4497212307
|
|
@ -1123,10 +1123,13 @@ intel_output_dpms(xf86OutputPtr output, int dpms)
|
|||
intel_output_dpms_backlight(output,
|
||||
intel_output->dpms_mode,
|
||||
dpms);
|
||||
drmModeConnectorSetProperty(mode->fd,
|
||||
intel_output->output_id,
|
||||
props->prop_id,
|
||||
dpms);
|
||||
|
||||
if (output->crtc)
|
||||
drmModeConnectorSetProperty(mode->fd,
|
||||
intel_output->output_id,
|
||||
props->prop_id,
|
||||
dpms);
|
||||
|
||||
if (dpms != DPMSModeOff)
|
||||
intel_output_dpms_backlight(output,
|
||||
intel_output->dpms_mode,
|
||||
|
|
|
|||
Loading…
Reference in New Issue