drm/etnaviv: add helper to extract bitfields
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 24 Jan 2016 17:35:54 +0000 (17:35 +0000)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 26 Jan 2016 17:53:57 +0000 (18:53 +0100)
commit52f36ba1d6134f5c1c45deb0da53442a5971358e
tree128f13cfaba21b35106d2d0c21d1cf1629b87d3d
parent507f899137f9e4f1405820b946063a6db78b2295
drm/etnaviv: add helper to extract bitfields

Add a helper to extract etnaviv bitfields from register values.

Acked-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c