drm/v3d: Skip debugfs dumping GCA on platforms without GCA.
commit29ac2218a9f88e9a459fbaaf6107e9f8438faa70
authorEric Anholt <eric@anholt.net>
Fri, 28 Sep 2018 23:21:26 +0000 (28 16:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jan 2019 16:38:42 +0000 (9 17:38 +0100)
tree5a3103b58c23369a349d4f9c8b33ac3dcf257327
parent6c56e89e4ebe916990de1dcec0f568948755eca4
drm/v3d: Skip debugfs dumping GCA on platforms without GCA.

commit 2f20fa8d12e859a03f68bdd81d75830141bc9ac9 upstream.

Fixes an oops reading this debugfs entry on BCM7278.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180928232126.4332-4-eric@anholt.net
Fixes: 57692c94dcbe ("drm/v3d: Introduce a new DRM driver for Broadcom V3D V3.x+")
Cc: <stable@vger.kernel.org>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/v3d/v3d_debugfs.c