commit | b6325f409959c7e1065ef1537f2e54cf4d7ab465 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jan 21 15:20:50 2016 +0000 |
committer | Lucas Stach <l.stach@pengutronix.de> | Mon Mar 07 15:37:00 2016 +0100 |
tree | 11233c042e18eba366b90d28e8832f76972e7d14 | |
parent | 41db12df64ace13c98865340b5c076cdf9a99a93 [diff] |
drm: etnaviv: clean up vram_mapping submission/retire path Currently, we scan the list of mappings each time we want to operate on the vram_mapping struct. Rather than repeatedly scanning these, look them up once in the submission path, and then use _reference and _unreference methods as necessary to manage this object. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>