drm/amd/amdgpu: add flag to mark whether autoload is supported or not
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 12 Dec 2018 17:21:30 +0000 (01:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:46:50 +0000 (21:46 -0500)
rlc autoload is supported since navi10

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h

index fbf3285..aa5668d 100644 (file)
@@ -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;