]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: fix workaround for GC500
authorLucas Stach <l.stach@pengutronix.de>
Wed, 6 Jan 2016 13:36:40 +0000 (14:36 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 7 Jan 2016 10:57:57 +0000 (11:57 +0100)
commit819f3acd48471fd56bd9309d67245c28fbda7d18
tree77c8ff675729d6ec069c51983610f58f6d53c35e
parent0a21e72207e2883649b31ee737de301623542020
drm/etnaviv: fix workaround for GC500

The hardware description macros define the mask and shifts the wrong
way around for the intended use, leading to the condition never being
true and the chip revision ending up with the wrong value.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c