Revert "drm/amd/display: Enable fast plane updates when state->allow_modeset = true"
Subsystems (3)
PATCH 1/1 Revert "drm/amd/display: Enable fast plane updates when state->allow_modeset = true"
This reverts commit ebc8c6f18322ad54275997a888ca1731d74b711f.
There are still missing corner cases with cursor interaction and these fast plane updates on Picasso and Raven2 leading to endless PSTATE warnings for typical desktop usage depending on the userspace.
This change should be reverted until these issues have been resolved.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +8 -0
@@ -6471,6 +6471,14 @@ static bool should_reset_plane(struct drm_atomic_state *state,struct drm_crtc_state *new_crtc_state;int i; +/* +* TODO: Remove this hack once the checks below are sufficient +* enough to determine when we need to reset all the planes on +* the stream. +*/ +if (state->allow_modeset) +return true; +/* Exit early if we know that we're adding or removing the plane. */ if (old_plane_state->crtc != new_plane_state->crtc)return true;
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20190620123403.10252-1-nicholas.kazlauskas-5C7GfCeVMHo@public.gmane.org
Francis, David
Reviewed-by________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Nicholas Kazlauskas <[email protected]>
Sent: June 20, 2019 8:34:03 AM
To: [email protected]
Cc: Francis, David; Wentland, Harry; Kazlauskas, Nicholas
Subject: [PATCH] Revert "drm/amd/display: Enable fast plane updates when state->allow_modeset = true"
This reverts commit ebc8c6f18322ad54275997a888ca1731d74b711f.
There are still missing corner cases with cursor interaction and these fast plane updates on Picasso and Raven2 leading to endless PSTATE warnings for typical desktop usage depending on the userspace.
This change should be reverted until these issues have been resolved.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +8 -0
@@ -6471,6 +6471,14 @@ static bool should_reset_plane(struct drm_atomic_state *state,struct drm_crtc_state *new_crtc_state;int i; +/* +* TODO: Remove this hack once the checks below are sufficient +* enough to determine when we need to reset all the planes on +* the stream. +*/ +if (state->allow_modeset) +return true; +/* Exit early if we know that we're adding or removing the plane. */ if (old_plane_state->crtc != new_plane_state->crtc)return true;
--
2.17.1
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): BN8PR12MB3217FE6149291E3A7D053139EFE40-h6+T2+wrnx1RCczRXbE7rwdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org
Deucher, Alexander
Reviewed-by David FrancisIs there a bugzilla this fixes? If so, can you add a link?
Alex
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Francis, David <[email protected]>
Sent: Thursday, June 20, 2019 9:43 AM
To: Kazlauskas, Nicholas; [email protected]
Cc: Wentland, Harry
Subject: Re: [PATCH] Revert "drm/amd/display: Enable fast plane updates when state->allow_modeset = true"
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Nicholas Kazlauskas <[email protected]>
Sent: June 20, 2019 8:34:03 AM
To: [email protected]
Cc: Francis, David; Wentland, Harry; Kazlauskas, Nicholas
Subject: [PATCH] Revert "drm/amd/display: Enable fast plane updates when state->allow_modeset = true"
This reverts commit ebc8c6f18322ad54275997a888ca1731d74b711f.
There are still missing corner cases with cursor interaction and these fast plane updates on Picasso and Raven2 leading to endless PSTATE warnings for typical desktop usage depending on the userspace.
This change should be reverted until these issues have been resolved.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +8 -0
@@ -6471,6 +6471,14 @@ static bool should_reset_plane(struct drm_atomic_state *state,struct drm_crtc_state *new_crtc_state;int i; +/* +* TODO: Remove this hack once the checks below are sufficient +* enough to determine when we need to reset all the planes on +* the stream. +*/ +if (state->allow_modeset) +return true; +/* Exit early if we know that we're adding or removing the plane. */ if (old_plane_state->crtc != new_plane_state->crtc)return true;
--
2.17.1
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): BN6PR12MB1809A334E8D4AB00D4BCB178F7E40-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org
Kazlauskas, Nicholas
Reviewed-by David FrancisSure, it's https://bugs.freedesktop.org/show_bug.cgi?id=110949 .
I've added it to the commit, thanks.
Nicholas Kazlauskas
On 6/20/19 10:35 AM, Deucher, Alexander wrote:
Is there a bugzilla this fixes? If so, can you add a link?
Alex
________________________________
From: amd-gfx <[email protected]><mailto:[email protected]> on behalf of Francis, David <[email protected]><mailto:[email protected]>
Sent: Thursday, June 20, 2019 9:43 AM
To: Kazlauskas, Nicholas; [email protected]<mailto:[email protected]>
Cc: Wentland, Harry
Subject: Re: [PATCH] Revert "drm/amd/display: Enable fast plane updates when state->allow_modeset = true"
________________________________
From: amd-gfx <[email protected]><mailto:[email protected]> on behalf of Nicholas Kazlauskas <[email protected]><mailto:[email protected]>
Sent: June 20, 2019 8:34:03 AM
To: [email protected]<mailto:[email protected]>
Cc: Francis, David; Wentland, Harry; Kazlauskas, Nicholas
Subject: [PATCH] Revert "drm/amd/display: Enable fast plane updates when state->allow_modeset = true"
This reverts commit ebc8c6f18322ad54275997a888ca1731d74b711f.
There are still missing corner cases with cursor interaction and these fast plane updates on Picasso and Raven2 leading to endless PSTATE warnings for typical desktop usage depending on the userspace.
This change should be reverted until these issues have been resolved.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +8 -0
@@ -6471,6 +6471,14 @@ static bool should_reset_plane(struct drm_atomic_state *state,struct drm_crtc_state *new_crtc_state;int i; +/* +* TODO: Remove this hack once the checks below are sufficient +* enough to determine when we need to reset all the planes on +* the stream. +*/ +if (state->allow_modeset) +return true; +/* Exit early if we know that we're adding or removing the plane. */ if (old_plane_state->crtc != new_plane_state->crtc)return true;
--
2.17.1
_______________________________________________
amd-gfx mailing list [email protected]<mailto:[email protected]>
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Just FYI my system was Raven1 not Raven2
Quoted 38 lines · Nicholas Kazlauskas
This reverts commit
ebc8c6f18322ad54275997a888ca1731d74b711f.There are still missing corner cases with cursor interaction and these fast plane updates on Picasso and Raven2 leading to endless PSTATE warnings for typical desktop usage depending on the userspace.
This change should be reverted until these issues have been resolved.
Cc David Francis <[email protected]>Cc Harry Wentland <[email protected]>Signed-off-by Nicholas Kazlauskas <[email protected]>--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +8
-1@@ -6471,6 +6471,14 @@ static bool should_reset_plane(struct drm_atomic_state *state,struct drm_crtc_state *new_crtc_state;int i; +/* +* TODO: Remove this hack once the checks below are sufficient +* enough to determine when we need to reset all the planes on +* the stream. +*/ +if (state->allow_modeset) +return true; +/* Exit early if we know that we're adding or removing the plane. */ if (old_plane_state->crtc != new_plane_state->crtc)return true; --2.17.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx