From: jsg Date: Mon, 20 May 2024 04:49:32 +0000 (+0000) Subject: drm/amdgpu: fix doorbell regression X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=efdde7ac8e52cd73dd01e7337740e51e954ba974;p=openbsd drm/amdgpu: fix doorbell regression From Shashank Sharma 4fd8cd4154a213e944933622039d83184b31617c in linux-6.6.y/6.6.31 705d0480e6ae5a73ca3a9c04316d0678e19a46ed in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c index 6b9f0b7c016..7f90c3e977e 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c @@ -424,7 +424,7 @@ bool amdgpu_res_cpu_visible(struct amdgpu_device *adev, return false; if (res->mem_type == TTM_PL_SYSTEM || res->mem_type == TTM_PL_TT || - res->mem_type == AMDGPU_PL_PREEMPT) + res->mem_type == AMDGPU_PL_PREEMPT || res->mem_type == AMDGPU_PL_DOORBELL) return true; if (res->mem_type != TTM_PL_VRAM)