gfx: drv: clean up the save/restore of the dspcntr/pipeconf regs
authorImre Deak <imre.deak@intel.com>
Tue, 6 Mar 2012 19:17:24 +0000 (21:17 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:26 +0000 (12:30 +0300)
commit61bf9aff74162cff1cf902a23aef01099e1f344c
tree881ec355c9f1ffc2082e43a16ab5cd43085390fd
parent2cae15162ac31b843fd5d111eb08d7a69aee4d0d
gfx: drv: clean up the save/restore of the dspcntr/pipeconf regs

We have the same set of the dspcntr/pipeconf regs for each pipe, so
store them to an appropriate array instead of separate variables named
after the pipe.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@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