summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2018-12-12 20:21:30 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-06-21 05:46:50 +0300
commitcc0beec2dd18b6fd506765542d7ee768a84f0159 (patch)
tree82c6cf2c4d1cb0d57af6301cfd8ef65d74665184 /drivers/gpu/drm
parent1d1f41cf49d16c784682f8efff333475204d0e10 (diff)
downloadlinux-cc0beec2dd18b6fd506765542d7ee768a84f0159.tar.xz
drm/amd/amdgpu: add flag to mark whether autoload is supported or not
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
index fbf32852cf9c..aa5668df03b6 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;