]> git.baikalelectronics.ru Git - kernel.git/commit
gma500: Fix incorrect SR issue when disabling CRTC already in disabled state
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 8 Aug 2012 13:53:15 +0000 (13:53 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Aug 2012 23:28:53 +0000 (09:28 +1000)
commitb70302fceb21b1c12d22dd718a389d2e5aa1ab43
treef1eaabec65a02c8470107b17ee19a8ff47f060a6
parent51f9e62056623734ccbb06e685fe528d7460fe81
gma500: Fix incorrect SR issue when disabling CRTC already in disabled state

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-by: Zhao Yakui <yakui.zhao@intel.com>
[Ported to in kernel driver]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/cdv_intel_display.c