diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-11-23 16:26:02 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-11-28 11:51:20 +0100 |
commit | 9a49bf098752b30e92e59da03db7eca49ace61c7 (patch) | |
tree | 22372a3a8e0028a2d772b79afb21c990de19a98b /drivers/gpu/drm/vc4/vc4_drv.h | |
parent | 3f98076f294fa58e83c87ebfb0af4ccf2454250d (diff) |
drm/vc4: crtc: Provide a CRTC name
It's fairly hard to figure out the instance of the CRTC affected by an
atomic change using the default name.
Since we can provide our own to the CRTC initialization functions, let's
do so to make the debugging sessions easier.
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123-rpi-kunit-tests-v1-20-051a0bb60a16@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_drv.h')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_drv.h b/drivers/gpu/drm/vc4/vc4_drv.h index 31ce73fe91a3..6af615c2eb65 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.h +++ b/drivers/gpu/drm/vc4/vc4_drv.h @@ -473,6 +473,8 @@ to_vc4_encoder(const struct drm_encoder *encoder) } struct vc4_crtc_data { + const char *name; + const char *debugfs_name; /* Bitmask of channels (FIFOs) of the HVS that the output can source from */ |