mirror_ubuntu-kernels/drivers/gpu/drm/amd
Lang Yu c6e559eb3b drm/amdkfd: Add an optional argument into update queue operation(v2)
Currently, queue is updated with data in queue_properties.
And all allocated resource in queue_properties will not
be freed until the queue is destroyed.

But some properties(e.g., cu mask) bring some memory
management headaches(e.g., memory leak) and make code
complex. Actually they have been copied to mqd and
don't have to persist in queue_properties.

Add an argument into update queue to pass such properties,
then we can remove them from queue_properties.

v2: Don't use void *.

Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Lang Yu <lang.yu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-10-28 14:26:13 -04:00
..
acp
amdgpu drm/amdgpu: skip GPRs init for some CU settings on ALDEBARAN 2021-10-28 14:26:13 -04:00
amdkfd drm/amdkfd: Add an optional argument into update queue operation(v2) 2021-10-28 14:26:13 -04:00
display Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
include drm/amd/display: Disable hdmistream and hdmichar clocks 2021-10-19 17:20:28 -04:00
pm drm/amd/pm: Disable fan control if not supported 2021-10-22 10:11:45 -04:00