OSDN Git Service

drm/amdgpu: fix vulkan test performance drop and hang on VI
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 26 Jun 2017 06:39:36 +0000 (14:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Jun 2017 16:43:43 +0000 (12:43 -0400)
commit6b0fa871a9a2d83dd869ca40a7fd65a935d3564c
tree62a6e23ef2af4c4bc7b821b3183dcf4e4402fe63
parent12d016626f99f48edbf5b006625b4e8c0de1eec7
drm/amdgpu: fix vulkan test performance drop and hang on VI

caused by not program dynamic_cu_mask_addr in the KIQ MQD.

v2: create struct vi_mqd_allocation in FB which will contain
1. PM4 MQD structure.
2. Write Pointer Poll Memory.
3. Read Pointer Report Memory
4. Dynamic CU Mask.
5. Dynamic RB Mask.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/include/vi_structs.h