* [PATCH 0/3] Refine the codes about reseving bad pages.
@ 2020-10-27 9:03 Dennis Li
2020-10-27 12:47 ` Zhang, Hawking
0 siblings, 1 reply; 2+ messages in thread
From: Dennis Li @ 2020-10-27 9:03 UTC (permalink / raw)
To: amd-gfx, Alexander.Deucher, felix.kuehling, Hawking.Zhang,
christian.koenig
Cc: Dennis Li
Beside umc, others' UE interrupt callback could enter into amdgpu_ras_reset_gpu,
so the first patch change to save bad pages in UMC error interrupt callback.
When bad page error happens, the bad page mostly still be hold by some
process, therefore driver will fail to reserve the bad page. The third
patch will reserve the bad page when freeing it, make system has no
chance to allocate it to other proccess.
Dennis Li (3):
drm/amdgpu: change to save bad pages in UMC error interrupt callback
drm/amdgpu: remove redundant GPU reset
drm/amdgpu: fix the issue of reserving bad pages failed
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 155 +++++-------------
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 17 +-
.../gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 16 --
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | 7 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 115 +++++++++++++
6 files changed, 164 insertions(+), 150 deletions(-)
--
2.17.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH 0/3] Refine the codes about reseving bad pages.
2020-10-27 9:03 [PATCH 0/3] Refine the codes about reseving bad pages Dennis Li
@ 2020-10-27 12:47 ` Zhang, Hawking
0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Hawking @ 2020-10-27 12:47 UTC (permalink / raw)
To: Li, Dennis, amd-gfx, Deucher, Alexander, Kuehling, Felix, Koenig,
Christian
Cc: Li, Dennis
[AMD Public Use]
Series is
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Regards,
Hawking
-----Original Message-----
From: Dennis Li <Dennis.Li@amd.com>
Sent: Tuesday, October 27, 2020 17:04
To: amd-gfx@lists.freedesktop.org; Deucher, Alexander <Alexander.Deucher@amd.com>; Kuehling, Felix <Felix.Kuehling@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com>; Koenig, Christian <Christian.Koenig@amd.com>
Cc: Li, Dennis <Dennis.Li@amd.com>
Subject: [PATCH 0/3] Refine the codes about reseving bad pages.
Beside umc, others' UE interrupt callback could enter into amdgpu_ras_reset_gpu, so the first patch change to save bad pages in UMC error interrupt callback.
When bad page error happens, the bad page mostly still be hold by some process, therefore driver will fail to reserve the bad page. The third patch will reserve the bad page when freeing it, make system has no chance to allocate it to other proccess.
Dennis Li (3):
drm/amdgpu: change to save bad pages in UMC error interrupt callback
drm/amdgpu: remove redundant GPU reset
drm/amdgpu: fix the issue of reserving bad pages failed
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 155 +++++-------------
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 17 +-
.../gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 16 --
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | 7 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 115 +++++++++++++
6 files changed, 164 insertions(+), 150 deletions(-)
--
2.17.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-27 12:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 9:03 [PATCH 0/3] Refine the codes about reseving bad pages Dennis Li
2020-10-27 12:47 ` Zhang, Hawking
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).