uxa: Always treat DPMSModeSuspend/Standby similar to DPMSModeOff
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2014 14:30:56 +0000 (14:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2014 14:39:07 +0000 (14:39 +0000)
commit82fa7ec352426c7e3d5210aac8ea1030232cc0f3
tree21761a4f1fcee28c90964ae77d4f4c90c21a1dcd
parent28a057105b6974803aee0d68c2a71f322095dfde
uxa: Always treat DPMSModeSuspend/Standby similar to DPMSModeOff

As we assume that Suspend, Standby alias to Off and disable the crtc
when switching to any mode other than On, we need to also perform the
backlight updates for Suspend,Standby prior to passing the DPMS value
onto the kernel.

Suggested-by: Alexander Monakov <amonakov@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/uxa/intel_display.c