projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27655b9
)
drm/nouveau/disp: fix HDMI on gt215+
author
Karol Herbst
<kherbst@redhat.com>
Wed, 28 Jun 2023 21:22:46 +0000
(23:22 +0200)
committer
Karol Herbst
<kherbst@redhat.com>
Wed, 12 Jul 2023 15:37:06 +0000
(17:37 +0200)
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Lyude Paul <lyude@redhat.com>
Fixes:
f530bc60a30b
("drm/nouveau/disp: move HDMI config into acquire + infoframe methods")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20230628212248.3798605-1-kherbst@redhat.com
Signed-off-by: Karol Herbst <kherbst@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c
b/drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c
index
a2c7c6f
..
506ffbe
100644
(file)
--- 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);