gfx: drv: pass meminfo instead of handle to psb_gtt_{unmap, map}_meminfo
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Wed, 15 Feb 2012 13:02:17 +0000 (15:02 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:52 +0000 (12:29 +0300)
commitfecb9b778395cf0ed7d2ab93024004c7504977c6
tree413999bd4b78b0cbcb553151e49adb189dc47a67
parentb91e3480d7aad17056f2571f84b92b66510c9de8
gfx: drv: pass meminfo instead of handle to psb_gtt_{unmap, map}_meminfo

The handles are process specific and may be freed while the kernel is
still using the meminfo.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_fb.c
drivers/staging/mrst/drv/psb_gtt.c
drivers/staging/mrst/drv/psb_gtt.h
drivers/staging/mrst/drv/psb_intel_display.c