Re: [PATCH] drm/amdgpu: make scratch_get/free more general

2022-05-05 Thread Christian König
Am 05.05.22 um 05:20 schrieb Lang Yu: Then other IPs can use this utility. Oh, we intentionally move the scratch register handling from the device code into the GFX code a few years ago. Why is that suddenly necessary here again? Regards, Christian. Signed-off-by: Lang Yu ---

[PATCH] drm/amdgpu: make scratch_get/free more general

2022-05-04 Thread Lang Yu
Then other IPs can use this utility. Signed-off-by: Lang Yu --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 3 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 36 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c| 36 --