Re: [PATCH] drm/amd: move DRM_ERROR log out of the mutex protect area

2020-11-02 Thread Christian König
Am 02.11.20 um 04:14 schrieb Bernard Zhao: In function amdgpu_register_gpu_instance, there is no need to protect DRM_ERROR in mutex mgpu_info.mutex. This change is to make the code to run a bit fast. NAK, performance for an error path in module load is pretty much irrelevant. This just looks

[PATCH] drm/amd: move DRM_ERROR log out of the mutex protect area

2020-11-01 Thread Bernard Zhao
In function amdgpu_register_gpu_instance, there is no need to protect DRM_ERROR in mutex mgpu_info.mutex. This change is to make the code to run a bit fast. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git