]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/nouveau/disp: Support more modes by checking with lower bpc
authorKarol Herbst <kherbst@redhat.com>
Thu, 30 Mar 2023 22:39:38 +0000 (00:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Apr 2023 14:55:35 +0000 (16:55 +0200)
commite53d28a6df0e2a8e5fa06d283dd604014773463e
tree6a85d8f1cd828c02a77d2e3343894da2be04b7bb
parent3c260efd82f5ea5d1a62f7d8f7f057823f6d3271
drm/nouveau/disp: Support more modes by checking with lower bpc

commit 7f67aa097e875c87fba024e850cf405342300059 upstream.

This allows us to advertise more modes especially on HDR displays.

Fixes using 4K@60 modes on my TV and main display both using a HDMI to DP
adapter. Also fixes similar issues for users running into this.

Cc: stable@vger.kernel.org # 5.10+
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230330223938.4025569-1-kherbst@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/dispnv50/disp.c
drivers/gpu/drm/nouveau/nouveau_dp.c