]> git.karo-electronics.de Git - linux-beck.git/commit
drm/nouveau/kms/nv50: ensure encoder normal power state is enabled at startup
authorBen Skeggs <bskeggs@redhat.com>
Fri, 4 Nov 2016 07:20:36 +0000 (17:20 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 7 Nov 2016 04:04:57 +0000 (14:04 +1000)
commit354d3508bca3d4379f1507eeefb64876c22b50e1
treebd1d67de9310763fea72b69330a46065ef5efe67
parentaccdea2ef458ada6102cc0d33a0a9780244ac7d2
drm/nouveau/kms/nv50: ensure encoder normal power state is enabled at startup

To handle low-power DPMS states, we currently change an OR's (Output
Resource) normal (active) power state to be off, leaving the rest of
the display configured as usual.

Under atomic modesetting, we will instead be doing a full modeset to
tear down the pipe fully when entering a low-power state.

As we'll no longer be touching the OR's PWR registers during runtime
operation, we need to ensure the normal power state is set correctly
during initialisation.

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