[Bug 110949] Continuious warnings from agd5f 5.3-wip branch
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 19 13:46:19 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=110949
Mike Lothian <mike at fireburn.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mike at fireburn.co.uk
--- Comment #1 from Mike Lothian <mike at fireburn.co.uk> ---
37fb6e8a96fbc9c809c58f9490267ffe7101ac33 is the first bad commit
commit 37fb6e8a96fbc9c809c58f9490267ffe7101ac33
Author: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>
Date: Fri Jun 7 11:16:55 2019 -0400
drm/amd/display: Enable fast plane updates when state->allow_modeset = true
[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 many of these commits
are frequently issued.
This flag was needed when the appropriate conditions for checking
whether the planes needed a reset were not in place, but
should_reset_plane should cover everything needed now.
[How]
Drop the check for state->allow_modeset in should_reset_plane.
All planes on a CRTC should reset in the following conditions:
- The CRTC needs a modeset
- The CRTC degamma changes
- Planes are added or removed to the CRTC
These conditions are all covered in should_reset_plane.
We still can't drop the format change check in should_reset_plane since
fill_dc_plane_info_and_addr isn't called when validating the state, so
we can't tell if a FULL update is needed or not.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>
Reviewed-by: David Francis <david.francis at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 --------
1 file changed, 8 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190619/f545c514/attachment.html>
More information about the dri-devel
mailing list