diff options
author | Karol Herbst <[email protected]> | 2023-06-28 23:22:46 +0200 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2023-07-12 17:37:06 +0200 |
commit | d94303699921bda8141ad33554ae55b615ddd149 (patch) | |
tree | 7f9b118178aba12ec587e6d74c278825c0848018 | |
parent | 27655b9bb9f0d9c32b8de8bec649b676898c52d5 (diff) |
drm/nouveau/disp: fix HDMI on gt215+
Cc: Ben Skeggs <[email protected]>
Cc: Lyude Paul <[email protected]>
Fixes: f530bc60a30b ("drm/nouveau/disp: move HDMI config into acquire + infoframe methods")
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Ben Skeggs <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Karol Herbst <[email protected]>
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c index a2c7c6f83dcd..506ffbe7b842 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c @@ -125,7 +125,7 @@ gt215_sor_hdmi_infoframe_avi(struct nvkm_ior *ior, int head, void *data, u32 siz pack_hdmi_infoframe(&avi, data, size); nvkm_mask(device, 0x61c520 + soff, 0x00000001, 0x00000000); - if (size) + if (!size) return; nvkm_wr32(device, 0x61c528 + soff, avi.header); |