]> git.hungrycats.org Git - linux/commit
drm/amd/display: handle range offsets in VRR ranges
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2024 20:59:22 +0000 (15:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:11:41 +0000 (15:11 +0200)
commiteec85f421ddf2a373cd948a0ba1bf0aa994bcc70
tree97419317684044193be0890a6de45a4b3650afcc
parent6b156e931b239d102afcc508f6074b4423eca62a
drm/amd/display: handle range offsets in VRR ranges

commit 937844d661354bf142dc1c621396fdab10ecbacc upstream.

Need to check the offset bits for values greater than 255.

v2: also update amdgpu_dm_connector values.

Suggested-by: Mano Ségransan <mano.segransan@protonmail.com>
Tested-by: Mano Ségransan <mano.segransan@protonmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3203
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c