Patch "drm/nouveau/disp: fix HDMI on gt215+" has been added to the 6.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/nouveau/disp: fix HDMI on gt215+

to the 6.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-nouveau-disp-fix-hdmi-on-gt215.patch
and it can be found in the queue-6.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit d92dc097c5c959d8a0645d0fdc7f502852665962
Author: Karol Herbst <kherbst@xxxxxxxxxx>
Date:   Wed Jun 28 23:22:46 2023 +0200

    drm/nouveau/disp: fix HDMI on gt215+
    
    [ Upstream commit d94303699921bda8141ad33554ae55b615ddd149 ]
    
    Cc: Ben Skeggs <bskeggs@xxxxxxxxxx>
    Cc: Lyude Paul <lyude@xxxxxxxxxx>
    Fixes: f530bc60a30b ("drm/nouveau/disp: move HDMI config into acquire + infoframe methods")
    Signed-off-by: Karol Herbst <kherbst@xxxxxxxxxx>
    Reviewed-by: Ben Skeggs <bskeggs@xxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20230628212248.3798605-1-kherbst@xxxxxxxxxx
    Signed-off-by: Karol Herbst <kherbst@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c
index a2c7c6f83dcdb..506ffbe7b8421 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);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux