gpu: pvr: get rid of unnecessary hash lookups for the proc object
authorImre Deak <imre.deak@nokia.com>
Fri, 1 Apr 2011 14:59:41 +0000 (17:59 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:04 +0000 (21:43 +0300)
commitb0e1a52124e38d145a40e1a4ad0d58ee462316f1
tree0c0a21b0bbb058ef0409c52cd2a9e78a41f571d9
parentca7ffad0d6553d9efe90a5aef73e772e17722ddb
gpu: pvr: get rid of unnecessary hash lookups for the proc object

We already are passed a pointer to the process specific data, so no
need to do an extra hash lookup just for this purpose.

Note that this lookup overhead was incured in each IOCTL command.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Reviewed-by: Luc Verhaegen <libv@codethink.co.uk>
pvr/module.c
pvr/private_data.h
pvr/pvr_bridge_k.c