https://bugzilla.kernel.org/show_bug.cgi?id=213751
Bug ID: 213751 Summary: KVM virt w/ qxl fails boot at latest 5.14.0-rc1+ Product: Drivers Version: 2.5 Kernel Version: 5.14.0-rc1+ Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: blocking Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: jpittman@redhat.com Regression: No
KVM virt w/ qxl fails boot at latest 5.14.0-rc1+
Limited backtrace:
RIP: 0010:qxl_bo_move_notify.part.1+0xc/0x40 [qxl] ttm_bo_cleanup_memtype_use+0x22/0x60 [ttm] ttm_bo_release+0x1b0/0x310 [ttm]
Issue bisected to the below commit.
[root@localhost linux]# git bisect bad bfa3357ef9abc9d56a2910222d2deeb9f15c91ff is the first bad commit commit bfa3357ef9abc9d56a2910222d2deeb9f15c91ff Author: Christian König christian.koenig@amd.com Date: Thu Apr 15 09:52:58 2021 +0200
drm/ttm: allocate resource object instead of embedding it v2
To improve the handling we want the establish the resource object as base class for the backend allocations.
v2: add missing error handling
Signed-off-by: Christian König christian.koenig@amd.com Acked-by: Thomas Hellström thomas.hellstrom@linux.intel.com Link: https://patchwork.freedesktop.org/patch/msgid/20210602100914.46246-1-christi...
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 54 +++++++++---------- drivers/gpu/drm/nouveau/nouveau_bo.c | 2 +- drivers/gpu/drm/radeon/radeon_ttm.c | 2 +- drivers/gpu/drm/ttm/ttm_bo.c | 83 ++++++++++-------------------- drivers/gpu/drm/ttm/ttm_bo_util.c | 43 ++++++++-------- drivers/gpu/drm/ttm/ttm_resource.c | 31 ++++++++--- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 2 +- include/drm/ttm/ttm_bo_api.h | 1 - include/drm/ttm/ttm_bo_driver.h | 10 ++-- include/drm/ttm/ttm_resource.h | 4 +- 11 files changed, 110 insertions(+), 126 deletions(-)
dri-devel@lists.freedesktop.org