mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-09 11:50:01 +00:00
The drm_exec tests where crashing[0] because of a null dereference. This
is caused by a new access of the `driver` attribute of `struct
drm_driver` on drm_gem_private_object_init(). Alloc the drm_device to
fix that.
[0]
[15:05:24] ================== drm_exec (6 subtests) ===================
[15:05:24] [PASSED] sanitycheck
^CERROR:root:Build interruption occurred. Cleaning console.
[15:05:50] [ERROR] Test: drm_exec: missing expected subtest!
[15:05:50] BUG: kernel NULL pointer dereference, address: 00000000000000b0
[15:05:50] #PF: supervisor read access in kernel mode
[15:05:50] #PF: error_code(0x0000) - not-present page
[15:05:50] PGD 0 P4D 0
[15:05:50] Oops: 0000 [#1] PREEMPT NOPTI
[15:05:50] CPU: 0 PID: 23 Comm: kunit_try_catch Tainted: G N 6.4.0-rc7-02032-ge6303f323b1a #69
[15:05:50] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-1.fc37 04/01/2014
[15:05:50] RIP: 0010:drm_gem_private_object_init+0x60/0xc0
Fixes:
|
||
|---|---|---|
| .. | ||
| .kunitconfig | ||
| drm_buddy_test.c | ||
| drm_client_modeset_test.c | ||
| drm_cmdline_parser_test.c | ||
| drm_connector_test.c | ||
| drm_damage_helper_test.c | ||
| drm_dp_mst_helper_test.c | ||
| drm_exec_test.c | ||
| drm_format_helper_test.c | ||
| drm_format_test.c | ||
| drm_framebuffer_test.c | ||
| drm_kunit_helpers.c | ||
| drm_managed_test.c | ||
| drm_mm_test.c | ||
| drm_modes_test.c | ||
| drm_plane_helper_test.c | ||
| drm_probe_helper_test.c | ||
| drm_rect_test.c | ||
| Makefile | ||