Re: [PATCH AUTOSEL 6.1 4/9] drm/amd/display: Do not set drr on pipe commit

From: Sasha Levin
Date: Thu Jun 01 2023 - 05:56:00 EST


On Mon, May 15, 2023 at 03:04:43PM +0200, Michel Dänzer wrote:
On 5/11/23 21:39, Sasha Levin wrote:
From: Wesley Chalmers <Wesley.Chalmers@xxxxxxx>

[ Upstream commit 474f01015ffdb74e01c2eb3584a2822c64e7b2be ]

[WHY]
Writing to DRR registers such as OTG_V_TOTAL_MIN on the same frame as a
pipe commit can cause underflow.

[HOW]
Move DMUB p-state delegate into optimze_bandwidth; enabling FAMS sets
optimized_required.

This change expects that Freesync requests are blocked when
optimized_required is true.

This change caused a regression, see https://patchwork.freedesktop.org/patch/532240/?series=116487&rev=1#comment_972234 / 9deeb132-a317-7419-e9da-cbc0a379c0eb@xxxxxxxxxxx .

Dropped, thanks!

--
Thanks,
Sasha