From: Hawking Zhang Date: Wed, 12 Dec 2018 17:21:30 +0000 (+0800) Subject: drm/amd/amdgpu: add flag to mark whether autoload is supported or not X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cc0beec2dd18b6fd506765542d7ee768a84f0159;p=linux.git drm/amd/amdgpu: add flag to mark whether autoload is supported or not rlc autoload is supported since navi10 Signed-off-by: Hawking Zhang Acked-by: Alex Deucher Reviewed-by: Jack Xiao Reviewed-by: Le Ma Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index fbf32852cf9c9..aa5668df03b69 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -187,6 +187,8 @@ struct psp_context /* fence value associated with cmd buffer */ atomic_t fence_value; + /* flag to mark whether gfx fw autoload is supported or not */ + bool autoload_supported; /* xgmi ta firmware and buffer */ const struct firmware *ta_fw;