aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorJack Xiao <[email protected]>2019-01-10 07:43:33 +0000
committerAlex Deucher <[email protected]>2019-06-21 14:30:52 +0000
commitb239c01727459ba08c44b79e6225d3c58723f282 (patch)
tree6d9e2ce20bb84f07d89a8a1f754e8de02505605d /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu: Add new ring interface preempt_ib (diff)
downloadkernel-b239c01727459ba08c44b79e6225d3c58723f282.tar.gz
kernel-b239c01727459ba08c44b79e6225d3c58723f282.zip
drm/amdgpu: add mcbp driver parameter
Add mcbp driver parameter, so that mcbp feature can be enabled/disabled by driver parameter. Acked-by: Hawking Zhang <[email protected]> Signed-off-by: Jack Xiao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index b2a9de32c61f..f83b8aa9da78 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2575,6 +2575,9 @@ int amdgpu_device_init(struct amdgpu_device *adev,
amdgpu_device_get_pcie_info(adev);
+ if (amdgpu_mcbp)
+ DRM_INFO("MCBP is enabled\n");
+
/* early init functions */
r = amdgpu_device_ip_early_init(adev);
if (r)