diff options
author | 2022-07-08 18:07:38 +0800 | |
---|---|---|
committer | 2023-03-22 00:47:59 -0400 | |
commit | bf35dbc135854c809b5cb6bcce320838c6d1370e (patch) | |
tree | db552d99971baaf29c8838f5da99e724dfd4b90f /drivers/gpu/drm/amd/amdgpu/mmsch_v4_0.h | |
parent | drm/amdgpu: Adding CAP firmware initialization (diff) | |
download | linux-bf35dbc135854c809b5cb6bcce320838c6d1370e.tar.gz linux-bf35dbc135854c809b5cb6bcce320838c6d1370e.tar.bz2 linux-bf35dbc135854c809b5cb6bcce320838c6d1370e.zip |
drm/amdgpu/jpeg: enable jpeg v4_0 for sriov
- skip direct jpeg registers read&write since it is not allowed
- reset Doorbell range layout for sriov
Signed-off-by: Jane Jian <Jane.Jian@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmsch_v4_0.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mmsch_v4_0.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmsch_v4_0.h b/drivers/gpu/drm/amd/amdgpu/mmsch_v4_0.h index 0312c71c3af9..83653a50a1a2 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmsch_v4_0.h +++ b/drivers/gpu/drm/amd/amdgpu/mmsch_v4_0.h @@ -38,6 +38,11 @@ #define MMSCH_VF_MAILBOX_RESP__OK 0x1 #define MMSCH_VF_MAILBOX_RESP__INCOMPLETE 0x2 +#define MMSCH_VF_ENGINE_STATUS__PASS 0x1 + +#define MMSCH_VF_MAILBOX_RESP__OK 0x1 +#define MMSCH_VF_MAILBOX_RESP__INCOMPLETE 0x2 + enum mmsch_v4_0_command_type { MMSCH_COMMAND__DIRECT_REG_WRITE = 0, MMSCH_COMMAND__DIRECT_REG_POLLING = 2, |