]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nv50-/kms: pass a non-zero value for head to sor dpms methods
authorBen Skeggs <bskeggs@redhat.com>
Mon, 30 Jun 2014 01:10:02 +0000 (11:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 8 Jul 2014 02:56:53 +0000 (12:56 +1000)
commitaec9f31f3b700568b8da6ae67e11e302d215a4d3
treea3d4eddb43430088108bf440f9ab4d2e6cdb6f30
parent4b8c61b76d688d15ce5ba25f460f4c8dd49bf593
drm/nv50-/kms: pass a non-zero value for head to sor dpms methods

There's Apple machines out there which (probably completely arbitrarily)
restrict each output path to a particular head.  This causes us to not
be able to locate the output data needed to power on/off the DP output
correctly.

We fix this by passing in a head index we know is valid (as opposed to
"head 0").

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c