summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include/v9_structs.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-08-19 06:52:37 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-08-29 22:28:00 +0300
commitffe6d881e99413f3ebdfebf99570c2e840879e68 (patch)
treeacd823eb8476c40a92b59004f0b3ea47cbe15a83 /drivers/gpu/drm/amd/include/v9_structs.h
parent29696bd680f196f52c6d5eedc4da4ef0482d8bb9 (diff)
downloadlinux-ffe6d881e99413f3ebdfebf99570c2e840879e68.tar.xz
drm/amdgpu/gfx9: adjust mqd allocation size
To allocate additional space for the dynamic cu masks. Confirmed with the hw team that we only need 1 dword for the mask. The mask is the same for each SE so you only need 1 dword. Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/v9_structs.h')
-rw-r--r--drivers/gpu/drm/amd/include/v9_structs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/v9_structs.h b/drivers/gpu/drm/amd/include/v9_structs.h
index 56d79db31693..2fb25abaf7c8 100644
--- a/drivers/gpu/drm/amd/include/v9_structs.h
+++ b/drivers/gpu/drm/amd/include/v9_structs.h
@@ -672,6 +672,14 @@ struct v9_mqd {
uint32_t reserved_511;
};
+struct v9_mqd_allocation {
+ struct v9_mqd mqd;
+ uint32_t wptr_poll_mem;
+ uint32_t rptr_report_mem;
+ uint32_t dynamic_cu_mask;
+ uint32_t dynamic_rb_mask;
+};
+
/* from vega10 all CSA format is shifted to chain ib compatible mode */
struct v9_ce_ib_state {
/* section of non chained ib part */