[PATCH 1/8] Fix incorrect SR issue when disabling CRTC already in disabled state

2012-08-08 Thread Alan Cox
From: Zhao Yakui Currently when trying to call the DPMS off again for one CRTC with DPMS off, it will firstly disable the SR and can't enable it again because of the incorrect check/logic. In such case the self refresh is still disabled although one CRTC pipe is active. This is wrong. Signed-off

[PATCH 1/8] Fix incorrect SR issue when disabling CRTC already in disabled state

2012-08-08 Thread Alan Cox
From: Zhao Yakui Currently when trying to call the DPMS off again for one CRTC with DPMS off, it will firstly disable the SR and can't enable it again because of the incorrect check/logic. In such case the self refresh is still disabled although one CRTC pipe is active. This is wrong. Signed-off