[RFC PATCH radeon-alex] drm/amdgpu: kfd_initialized can be static
Felix Kuehling
felix.kuehling at amd.com
Thu Oct 8 22:21:12 UTC 2020
FYI, I applied this patch to amd-staging-drm-next. Sorry for the delay,
I finally caught up with my vacation backlog.
Regards,
Felix
Am 2020-09-22 um 10:28 p.m. schrieb kernel test robot:
> Fixes: 0b54e1e30e9f ("drm/amdgpu: Fix handling of KFD initialization failures")
> Signed-off-by: kernel test robot <lkp at intel.com>
> ---
> amdgpu_amdkfd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
> index 7f14461f7f402..01780bb8727f6 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
> @@ -36,7 +36,7 @@
> */
> uint64_t amdgpu_amdkfd_total_mem_size;
>
> -bool kfd_initialized;
> +static bool kfd_initialized;
>
> int amdgpu_amdkfd_init(void)
> {
More information about the amd-gfx
mailing list