diff options
author | Alvin Lee <alvin.lee2@amd.com> | 2024-02-23 15:06:39 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-20 13:37:38 -0400 |
commit | d62d5551dd615f9e488b13595d69b308cd019e16 (patch) | |
tree | 2dd0f2719893197b21aa0cebf689b94dd4feaf5d /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | |
parent | 2d5bb791e24f43b6b4231b7973009987bbcc9b06 (diff) |
drm/amd/display: Backup and restore only on full updates
[WHY & HOW]
Since the backup and restore for plane and stream states has
a significant amount of data to copy, we will change the backup
and restore sequence to only take place during full updates.
We will also move the scratch memory to struct dc instead of dc_state
to avoid needing to allocate large amounts of memory every time
we create a new DC state.
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
0 files changed, 0 insertions, 0 deletions