From: Hawking Zhang <[email protected]>

rlc autoload is supported since navi10

Signed-off-by: Hawking Zhang <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Jack Xiao <[email protected]>
Reviewed-by: Le Ma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 ++
 1 file changed, 2 insertions(+)

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;
-- 
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to