aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-01-21 10:19:59 -0500
committerLucas Stach <l.stach@pengutronix.de>2016-01-26 12:53:27 -0500
commitb98c66887ee1aec661dcb88fe17399d5d112ed98 (patch)
tree2576ecf5e3d822343207cabe4f4f284fd14fe97e
parentf6427760a29ba3fd968e27ea567b1ebdd500740b (diff)
drm/etnaviv: ignore VG GPUs with FE2.0
Ignore GPUs with a 2.0 front end. These have a different register layout for the front end, which provokes imprecise aborts from the register accesses in the 'gpu' debugfs file. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_gpu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
index e0e68dd7565d..a9530f59e6fe 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
@@ -515,6 +515,14 @@ int etnaviv_gpu_init(struct etnaviv_gpu *gpu)
515 goto fail; 515 goto fail;
516 } 516 }
517 517
518 /* Exclude VG cores with FE2.0 */
519 if (gpu->identity.features & chipFeatures_PIPE_VG &&
520 gpu->identity.features & chipFeatures_FE20) {
521 dev_info(gpu->dev, "Ignoring GPU with VG and FE2.0\n");
522 ret = -ENXIO;
523 goto fail;
524 }
525
518 ret = etnaviv_hw_reset(gpu); 526 ret = etnaviv_hw_reset(gpu);
519 if (ret) 527 if (ret)
520 goto fail; 528 goto fail;