Re: [PATCH] drm/amd/display: Enable fast plane updates when state->allow_modeset = true

2019-06-20 Thread Mike Lothian
by: David Francis > > > From: amd-gfx on behalf of Nicholas > Kazlauskas > Sent: June 7, 2019 11:16:55 AM > To: amd-gfx@lists.freedesktop.org > Cc: Francis, David; Wentland, Harry; Kazlauskas, Nicholas > Subject: [PATCH] drm/amd/display: Enable fast plane updates whe

Re: [PATCH] drm/amd/display: Enable fast plane updates when state->allow_modeset = true

2019-06-07 Thread Francis, David
Patch is Reviewed-by: David Francis From: amd-gfx on behalf of Nicholas Kazlauskas Sent: June 7, 2019 11:16:55 AM To: amd-gfx@lists.freedesktop.org Cc: Francis, David; Wentland, Harry; Kazlauskas, Nicholas Subject: [PATCH] drm/amd/display: Enable fast plane

[PATCH] drm/amd/display: Enable fast plane updates when state->allow_modeset = true

2019-06-07 Thread Nicholas Kazlauskas
[Why] Whenever the a modeset is allowed (but not neccessarily required) we currently recreate all the planes in the state. Most IGT tests and legacy IOCTLs create atomic commits with this flag set, so the pipes are often unnecessarily reprogrammed. Poor performance and stuttering can occur when ma