gfx: display: switch to the power island management code in the PMU driver
authorJani Nikula <jani.nikula@intel.com>
Tue, 7 Feb 2012 13:08:24 +0000 (15:08 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:44 +0000 (12:29 +0300)
commitfeb0d11e376d7b8dbf808c08be7c98403478ba12
tree2cb2389089cdcedebae5ef5317a757a2898cbd52
parent23098a19c409cddc9d0693e2a0e00040735ffd0a
gfx: display: switch to the power island management code in the PMU driver

Both the GFX and ISP drivers need to switch on and off the relevant power
islands through PUnit. If a centralized driver with proper locking is not
used, they may stomp on each others' toes accessing the PUnit registers.

Obviously, this also reduces code duplication, and the power island
management code is of better quality in the PMU driver anyway.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_drv.h
drivers/staging/mrst/drv/psb_powermgmt.c
drivers/staging/mrst/drv/psb_powermgmt.h
drivers/staging/mrst/drv/psb_reg.h