OSDN Git Service

drm/amd/amdgpu: Add VMID to SRBM debugfs bank selection
authorTom St Denis <tom.stdenis@amd.com>
Fri, 12 Jul 2019 13:27:06 +0000 (09:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2019 18:08:38 +0000 (13:08 -0500)
commit0fa4246e8ebfb389142034ffcdf6e70de32dddf4
tree6e468aae893295648a98239d5e1e1e2de9b1943e
parentcf034477321e8c88d667514923763b93a0892f49
drm/amd/amdgpu: Add VMID to SRBM debugfs bank selection

Add 5 bits to the offset for SRBM selection to handle VMIDs.  Also
update the select_me_pipe_q() callback to also select VMID.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c