]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: Add field in amdgpu_dev to hold reserved doorbell index
authorOak Zeng <ozeng@amd.com>
Sat, 17 Nov 2018 01:23:44 +0000 (19:23 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 20:55:31 +0000 (15:55 -0500)
commit409c5191b4999abef6687a18eb59aa8b88d714d3
treef889c73be3b62f5c463e698ca6b6674e68cb7500
parent8bcbc9ef9657697146ef8cc86b745fc927bca4cb
drm/amdgpu: Add field in amdgpu_dev to hold reserved doorbell index

This is a preparation work to make reserved doorbell index per device,
instead of using a global macro definition. By doing this, we can easily
change doorbell layout for future ASICs while not affecting ASICs in
production.

Signed-off-by: Oak Zeng <ozeng@amd.com>
Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com>
Suggested-by: Alex Deucher <alexander.deucher@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.h