mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drm/vc4: hvs: Skip DebugFS Registration for FKMS
FKMS doesn't have an HVS and it's expected. Return from the debugfs init function immediately if we're running with fkms. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
committed by
Dom Cobley
parent
66ce7f0772
commit
c0097c8e40
@@ -977,6 +977,9 @@ int vc4_hvs_debugfs_init(struct drm_minor *minor)
|
|||||||
struct vc4_hvs *hvs = vc4->hvs;
|
struct vc4_hvs *hvs = vc4->hvs;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
if (vc4->firmware_kms)
|
||||||
|
return 0;
|
||||||
|
|
||||||
if (!vc4->hvs)
|
if (!vc4->hvs)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user