]> git.ipfire.org Git - thirdparty/kernel/stable.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 15:02:55 +0000 (17:02 +0200)
commit3d9c62ecb67e96bcda74fb4a6d825e87a17df467
treefb472f0ce2712377acf013a91744cacf9f4f1705
parent438fc51f8bad897c26cd5494f93eabd8dfce210f
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