drm/etnaviv: add helper for comparing model/revision IDs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 24 Jan 2016 17:35:59 +0000 (17:35 +0000)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 26 Jan 2016 17:53:58 +0000 (18:53 +0100)
commit472f79dcf21d34f4d667910002482efe3ca4ba34
treed54caf3ca2fbdb600cf06e77507f407aa345aef7
parent52f36ba1d6134f5c1c45deb0da53442a5971358e
drm/etnaviv: add helper for comparing model/revision IDs

Add and use a helper for comparing the model and revision IDs.

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