diff options
author | Dave Airlie <airlied@redhat.com> | 2024-12-20 12:53:42 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2024-12-20 16:21:44 +1000 |
commit | e639fb046b8150625c1b96bf6f02a18f11ef1760 (patch) | |
tree | 3b164e89b6d53a2a79ad71e97fe255083c89a154 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 87fd88332567e22986d4989d912a1e44f164dc7d (diff) | |
parent | 3abb660f9e18925468685591a3702bda05faba4f (diff) | |
download | linux-e639fb046b8150625c1b96bf6f02a18f11ef1760.tar.gz linux-e639fb046b8150625c1b96bf6f02a18f11ef1760.tar.bz2 linux-e639fb046b8150625c1b96bf6f02a18f11ef1760.zip |
Merge tag 'amd-drm-fixes-6.13-2024-12-18' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
amd-drm-fixes-6.13-2024-12-18:
amdgpu:
- Disable BOCO when CONFIG_HOTPLUG_PCI_PCIE is not enabled
- scheduler job fixes
- IP version check fixes
- devcoredump fix
- GPUVM update fix
- NBIO 2.5 fix
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241218204637.2966198-1-alexander.deucher@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
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 d272d95dd5b2..cd4fac120834 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -417,6 +417,9 @@ bool amdgpu_device_supports_boco(struct drm_device *dev) { struct amdgpu_device *adev = drm_to_adev(dev); + if (!IS_ENABLED(CONFIG_HOTPLUG_PCI_PCIE)) + return false; + if (adev->has_pr3 || ((adev->flags & AMD_IS_PX) && amdgpu_is_atpx_hybrid())) return true; |