Harry Wentland c76e483cd9 drm/amd/display: Don't restrict bpc to 8 bpc
This will let us pass the kms_hdr.bpc_switch IGT
test.

The reason the bpc restriction was required is
historical. At one point in time we were not falling
back to a lower bpc when we didn't have enough
bandwidth for the maximum bpc reported by a display.
This meant that we couldn't enable some high refresh
modes unless we limitted the bpc.

Starting with this patch the issue is fixed:
commit cbd14ae7ea93 ("drm/amd/display: Fix
incorrectly pruned modes with deep color")

This patch implemented a fallback mechanism if mode
validation failed at the max bpc. This means users
now automatically get all modes that can be supported
by at least 6 bpc. The driver will enable the mode
with the highest possible bpc that is supported by
the display.

v2:
 - explain why this is no longer needed (Michel)
 - refer to commit that fixed bpc fallback (Michel)

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Sebastian Wick <sebastian.wick@redhat.com>
Cc: Vitaly.Prosyak@amd.com
Cc: Joshua Ashton <joshua@froggi.es>
Cc: dri-devel@lists.freedesktop.org
Cc: amd-gfx@lists.freedesktop.org
Cc: Michel Dänzer <michel.daenzer@mailbox.org>
Reviewed-by: Joshua Ashton <joshua@froggi.es>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-03-01 22:38:06 -05:00
..
2023-02-23 09:32:41 +10:00
2022-12-14 12:20:00 -08:00
2023-01-24 17:36:29 +01:00
2023-02-23 09:32:41 +10:00
2022-11-24 11:05:43 +10:00
2023-02-02 18:17:20 +10:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2022-12-19 09:50:06 +01:00
2022-12-14 12:20:00 -08:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-12 17:02:20 -06:00
2022-11-16 07:17:32 +10:00
2023-01-04 14:59:25 +01:00
2023-01-16 15:33:28 +10:00
2022-12-16 03:54:54 -08:00
2023-01-13 09:44:53 +01:00
2023-01-24 17:36:29 +01:00