]> git.baikalelectronics.ru Git - kernel.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)
commit7dacbcb9b41d30ccfa9927c83b64907fcc70c04d
tree6a85d8f1cd828c02a77d2e3343894da2be04b7bb
parentdff67e11e81ed3fd3ad23b1c536b47de3daf9222
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