diff options
author | Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> | 2025-07-16 13:21:23 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-07-17 12:36:12 -0400 |
commit | 81df6bfad6a479530cef4b8ecbf848132d0fc0ab (patch) | |
tree | 7d1d62078ba462df2046f6d0024f360f036550d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | e678e75d68ca28fbc03d22f078e641f123698779 (diff) |
drm/amdgpu: Add WARN_ON to the resource clear function
Set the dirty bit when the memory resource is not cleared
during BO release.
v2(Christian):
- Drop the cleared flag set to false.
- Improve the amdgpu_vram_mgr_set_clear_state() function.
v3:
- Add back the resource clear flag set function call after
being cleared during eviction (Christian).
- Modified the patch subject name.
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions