linux/drivers/gpu/drm/amd
Andrey Grodzovsky cfbb6b0047 drm/amdgpu: Rework reset domain to be refcounted.
The reset domain contains register access semaphor
now and so needs to be present as long as each device
in a hive needs it and so it cannot be binded to XGMI
hive life cycle.
Adress this by making reset domain refcounted and pointed
by each member of the hive and the hive itself.

v4:

Fix crash on boot witrh XGMI hive by adding type to reset_domain.
XGMI will only create a new reset_domain if prevoius was of single
device type meaning it's first boot. Otherwsie it will take a
refocunt to exsiting reset_domain from the amdgou device.

Add a wrapper around reset_domain->refcount get/put
and a wrapper around send to reset wq (Lijo)

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://www.spinics.net/lists/amd-gfx/msg74121.html
2022-02-09 12:17:09 -05:00
..
acp
amdgpu drm/amdgpu: Rework reset domain to be refcounted. 2022-02-09 12:17:09 -05:00
amdkfd drm/amdkfd: Fix ASIC name typos 2022-01-11 15:44:28 -05:00
display drm/amd/display: Use str_yes_no() 2022-02-07 13:03:50 -08:00
include drm/amdgpu: add support for IP discovery gc_info table v2 2021-12-17 12:47:29 -05:00
pm drm/amd/pm: only send GmiPwrDnControl msg on master die (v3) 2022-01-11 15:44:28 -05:00