diff options
author | 2018-12-13 01:21:30 +0800 | |
---|---|---|
committer | 2019-06-20 21:46:50 -0500 | |
commit | cc0beec2dd18b6fd506765542d7ee768a84f0159 (patch) | |
tree | 82c6cf2c4d1cb0d57af6301cfd8ef65d74665184 | |
parent | drm/amdgpu/psp: initialize autoload_supported flag in psp_sw_init (diff) | |
download | linux-rng-cc0beec2dd18b6fd506765542d7ee768a84f0159.tar.xz linux-rng-cc0beec2dd18b6fd506765542d7ee768a84f0159.zip |
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>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 |
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; |