drm/msm: another fix for the headless Adreno GPU
PATCH v2 1/1 drm/msm: another fix for the headless Adreno GPU
Fix another oops reproducible when rebooting the board with the Adreno GPU wokring in the headless mode (e.g. iMX platforms).
Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read [00000000] *pgd=74936831, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] ARM CPU: 0 PID: 51 Comm: reboot Not tainted 6.2.0-rc1-dirty #11 Hardware name: Freescale i.MX53 (Device Tree Support) PC is at msm_atomic_commit_tail+0x50/0x970 LR is at commit_tail+0x9c/0x188 pc : [<c06aa430>] lr : [<c067a214>] psr: 600e0013
sp : e0851d30 ip : ee4eb7eb fp : 00090acc
r10: 00000058 r9 : c2193014 r8 : c4310000
r7 : c4759380 r6 : 07bef61d r5 : 00000000 r4 : 00000000
r3 : c44cc440 r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c5387d Table: 74910019 DAC: 00000051
Register r0 information: NULL pointer
Register r1 information: NULL pointer
Register r2 information: NULL pointer
Register r3 information: slab kmalloc-1k start c44cc400 pointer offset 64 size 1024 Register r4 information: NULL pointer
Register r5 information: NULL pointer
Register r6 information: non-paged memory
Register r7 information: slab kmalloc-128 start c4759380 pointer offset 0 size 128 Register r8 information: slab kmalloc-2k start c4310000 pointer offset 0 size 2048 Register r9 information: non-slab/vmalloc memory
Register r10 information: non-paged memory
Register r11 information: non-paged memory
Register r12 information: non-paged memory
Process reboot (pid: 51, stack limit = 0xc80046d9)
Stack: (0xe0851d30 to 0xe0852000)
1d20: c4759380 fbd77200 000005ff 002b9c70
1d40: c4759380 c4759380 00000000 07bef61d 00000600 c0d6fe7c c2193014 00000058 1d60: 00090acc c067a214 00000000 c4759380 c4310000 00000000 c44cc854 c067a89c 1d80: 00000000 00000000 00000000 c4310468 00000000 c4759380 c4310000 c4310468 1da0: c4310470 c0643258 c4759380 00000000 00000000 c0c4ee24 00000000 c44cc810 1dc0: 00000000 c0c4ee24 00000000 c44cc810 00000000 0347d2a8 e0851e00 e0851e00 1de0: c4759380 c067ad20 c4310000 00000000 c44cc810 c27f8718 c44cc854 c067adb8 1e00: c4933000 00000002 00000001 00000000 00000000 c2130850 00000000 c2130854 1e20: c25fc488 00000000 c0ff162c 00000000 00000001 00000002 00000000 00000000 1e40: c43102c0 c43102c0 00000000 0347d2a8 c44cc810 c44cc814 c2133da8 c06d1a60 1e60: 00000000 00000000 00079028 c2012f24 fee1dead c4933000 00000058 c01431e4 1e80: 01234567 c0143a20 00000000 00000000 00000000 00000000 00000000 00000000 1ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f80: 00000000 00000000 00000000 0347d2a8 00000002 00000004 00000078 00000058 1fa0: c010028c c0100060 00000002 00000004 fee1dead 28121969 01234567 00079028 1fc0: 00000002 00000004 00000078 00000058 0002fdc5 00000000 00000000 00090acc 1fe0: 00000058 becc9c64 b6e97e05 b6e0e5f6 600e0030 fee1dead 00000000 00000000
msm_atomic_commit_tail from commit_tail+0x9c/0x188
commit_tail from drm_atomic_helper_commit+0x160/0x188 drm_atomic_helper_commit from drm_atomic_commit+0xac/0xe0 drm_atomic_commit from drm_atomic_helper_disable_all+0x1b0/0x1c0 drm_atomic_helper_disable_all from drm_atomic_helper_shutdown+0x88/0x140 drm_atomic_helper_shutdown from device_shutdown+0x16c/0x240 device_shutdown from kernel_restart+0x38/0x90
kernel_restart from __do_sys_reboot+0x174/0x224
__do_sys_reboot from ret_fast_syscall+0x0/0x1c
Exception stack(0xe0851fa8 to 0xe0851ff0) 1fa0: 00000002 00000004 fee1dead 28121969 01234567 00079028 1fc0: 00000002 00000004 00000078 00000058 0002fdc5 00000000 00000000 00090acc 1fe0: 00000058 becc9c64 b6e97e05 b6e0e5f6 Code: 15922088 1184421c e1500003 1afffff8 (e5953000) ---[ end trace 0000000000000000 ]---
---
Changes since v1:
- Moved setting of `async' before the call to trace to fix the uninitialized variable warning
--- drivers/gpu/drm/msm/msm_atomic.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/msm/msm_atomic.c +6 -1
@@ -186,7 +186,12 @@ void msm_atomic_commit_tail(struct drm_atomic_state *state)struct msm_kms *kms = priv->kms;struct drm_crtc *async_crtc =NULL ;unsigned crtc_mask =get_crtc_mask (state); -bool async = kms->funcs->vsync_time && +bool async; + +if (!kms) +return ; + + async = kms->funcs->vsync_time &&can_do_async (state, &async_crtc);trace_msm_atomic_commit_tail_start (async, crtc_mask);
Signature · 1 line
2.39.0
Quoted 2 lines · Dmitry Baryshkov
Fix another oops reproducible when rebooting the board with the Adreno GPU wokring in the headless mode (e.g. iMX platforms).
wokring ---> working
Quoted 69 lines
Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read [00000000] *pgd=74936831, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] ARM CPU: 0 PID: 51 Comm: reboot Not tainted 6.2.0-rc1-dirty #11 Hardware name: Freescale i.MX53 (Device Tree Support) PC is at msm_atomic_commit_tail+0x50/0x970 LR is at commit_tail+0x9c/0x188 pc : [<c06aa430>] lr : [<c067a214>] psr: 600e0013sp :
e0851d30ip :ee4eb7ebfp :00090acc
r10: 00000058 r9 :c2193014r8 :c4310000
r7 :c4759380r6 :07bef61dr5 : 00000000 r4 : 00000000
r3 :c44cc440r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs on FIQs on ModeSVC_32ISA ARM Segment none
Control:10c5387dTable: 74910019 DAC: 00000051
Register r0 information: NULL pointer
Register r1 information: NULL pointer
Register r2 information: NULL pointer
Register r3 information: slab kmalloc-1k startc44cc400pointer offset 64 size 1024 Register r4 information: NULL pointer
Register r5 information: NULL pointer
Register r6 information: non-paged memory
Register r7 information: slab kmalloc-128 startc4759380pointer offset 0 size 128 Register r8 information: slab kmalloc-2k startc4310000pointer offset 0 size 2048 Register r9 information: non-slab/vmalloc memory
Register r10 information: non-paged memory
Register r11 information: non-paged memory
Register r12 information: non-paged memory
Process reboot (pid: 51, stack limit =0xc80046d9)Stack: (0xe0851d30 to 0xe0852000)1d20:
c4759380fbd77200000005ff002b9c70
1d40:c4759380c47593800000000007bef61d00000600c0d6fe7cc219301400000058 1d60:00090accc067a21400000000c4759380c431000000000000c44cc854c067a89c1d80: 00000000 00000000 00000000c431046800000000c4759380c4310000c43104681da0:c4310470c0643258c475938000000000 00000000c0c4ee2400000000c44cc8101dc0: 00000000c0c4ee2400000000c44cc810000000000347d2a8e0851e00e0851e001de0:c4759380c067ad20c431000000000000c44cc810c27f8718c44cc854c067adb81e00:c493300000000002 00000001 00000000 00000000c213085000000000c21308541e20:c25fc48800000000c0ff162c00000000 00000001 00000002 00000000 00000000 1e40:c43102c0c43102c0000000000347d2a8c44cc810c44cc814c2133da8c06d1a601e60: 00000000 00000000 00079028c2012f24fee1deadc493300000000058c01431e41e80: 01234567c0143a2000000000 00000000 00000000 00000000 00000000 00000000 1ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f80: 00000000 00000000 000000000347d2a800000002 00000004 00000078 00000058 1fa0:c010028cc010006000000002 00000004fee1dead28121969 01234567 00079028 1fc0: 00000002 00000004 00000078 000000580002fdc500000000 0000000000090acc1fe0: 00000058becc9c64b6e97e05b6e0e5f6600e0030fee1dead00000000 00000000
msm_atomic_commit_tailfromcommit_tail+0x9c/0x188
commit_tailfromdrm_atomic_helper_commit+0x160/0x188drm_atomic_helper_commitfromdrm_atomic_commit+0xac/0xe0drm_atomic_commitfromdrm_atomic_helper_disable_all+0x1b0/0x1c0drm_atomic_helper_disable_allfromdrm_atomic_helper_shutdown+0x88/0x140drm_atomic_helper_shutdownfromdevice_shutdown+0x16c/0x240device_shutdownfromkernel_restart+0x38/0x90
kernel_restartfrom__do_sys_reboot+0x174/0x224
__do_sys_rebootfromret_fast_syscall+0x0/0x1cException stack(0xe0851fa8 to 0xe0851ff0) 1fa0: 00000002 00000004 fee1dead 28121969 01234567 00079028 1fc0: 00000002 00000004 00000078 00000058 0002fdc5 00000000 00000000 00090acc 1fe0: 00000058 becc9c64 b6e97e05 b6e0e5f6 Code: 15922088 1184421c e1500003 1afffff8 (e5953000) ---[ end trace 0000000000000000 ]---
Quoted 3 lines
Fixes 0a58d2ae572a ("drm/msm: Make .remove and .shutdown HW shutdown consistent")Reported-by kernel test robot <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>
How is this null pointer hitting?
priv->kms is assigned in the msm_drm_init() which happens in the bind.
Only then we register the dri card for the commit which means commit cannot come before that.
So, how can this sequence be possible?
Quoted 28 lines
---
Changes since v1:
- Moved setting of `async' before the call to trace to fix the uninitialized variable warning--- drivers/gpu/drm/msm/msm_atomic.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/msm/msm_atomic.c +6
-1@@ -186,7 +186,12 @@ void msm_atomic_commit_tail(struct drm_atomic_state *state)struct msm_kms *kms = priv->kms;struct drm_crtc *async_crtc =NULL ;unsigned crtc_mask =get_crtc_mask (state); -bool async = kms->funcs->vsync_time && +bool async; + +if (!kms) +return ; + + async = kms->funcs->vsync_time &&can_do_async (state, &async_crtc);trace_msm_atomic_commit_tail_start (async, crtc_mask);
Quoted 76 lines · Abhinav Kumar
Quoted 2 lines · Dmitry Baryshkov
Fix another oops reproducible when rebooting the board with the Adreno GPU wokring in the headless mode (e.g. iMX platforms).
wokring ---> working
Quoted 69 lines
Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read [00000000] *pgd=74936831, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] ARM CPU: 0 PID: 51 Comm: reboot Not tainted 6.2.0-rc1-dirty #11 Hardware name: Freescale i.MX53 (Device Tree Support) PC is at msm_atomic_commit_tail+0x50/0x970 LR is at commit_tail+0x9c/0x188 pc : [<c06aa430>] lr : [<c067a214>] psr: 600e0013sp :
e0851d30ip :ee4eb7ebfp :00090acc
r10: 00000058 r9 :c2193014r8 :c4310000
r7 :c4759380r6 :07bef61dr5 : 00000000 r4 : 00000000
r3 :c44cc440r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs on FIQs on ModeSVC_32ISA ARM Segment none
Control:10c5387dTable: 74910019 DAC: 00000051
Register r0 information: NULL pointer
Register r1 information: NULL pointer
Register r2 information: NULL pointer
Register r3 information: slab kmalloc-1k startc44cc400pointer offset 64 size 1024 Register r4 information: NULL pointer
Register r5 information: NULL pointer
Register r6 information: non-paged memory
Register r7 information: slab kmalloc-128 startc4759380pointer offset 0 size 128 Register r8 information: slab kmalloc-2k startc4310000pointer offset 0 size 2048 Register r9 information: non-slab/vmalloc memory
Register r10 information: non-paged memory
Register r11 information: non-paged memory
Register r12 information: non-paged memory
Process reboot (pid: 51, stack limit =0xc80046d9)Stack: (0xe0851d30 to 0xe0852000)1d20:
c4759380fbd77200000005ff002b9c70
1d40:c4759380c47593800000000007bef61d00000600c0d6fe7cc219301400000058 1d60:00090accc067a21400000000c4759380c431000000000000c44cc854c067a89c1d80: 00000000 00000000 00000000c431046800000000c4759380c4310000c43104681da0:c4310470c0643258c475938000000000 00000000c0c4ee2400000000c44cc8101dc0: 00000000c0c4ee2400000000c44cc810000000000347d2a8e0851e00e0851e001de0:c4759380c067ad20c431000000000000c44cc810c27f8718c44cc854c067adb81e00:c493300000000002 00000001 00000000 00000000c213085000000000c21308541e20:c25fc48800000000c0ff162c00000000 00000001 00000002 00000000 00000000 1e40:c43102c0c43102c0000000000347d2a8c44cc810c44cc814c2133da8c06d1a601e60: 00000000 00000000 00079028c2012f24fee1deadc493300000000058c01431e41e80: 01234567c0143a2000000000 00000000 00000000 00000000 00000000 00000000 1ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f80: 00000000 00000000 000000000347d2a800000002 00000004 00000078 00000058 1fa0:c010028cc010006000000002 00000004fee1dead28121969 01234567 00079028 1fc0: 00000002 00000004 00000078 000000580002fdc500000000 0000000000090acc1fe0: 00000058becc9c64b6e97e05b6e0e5f6600e0030fee1dead00000000 00000000
msm_atomic_commit_tailfromcommit_tail+0x9c/0x188
commit_tailfromdrm_atomic_helper_commit+0x160/0x188drm_atomic_helper_commitfromdrm_atomic_commit+0xac/0xe0drm_atomic_commitfromdrm_atomic_helper_disable_all+0x1b0/0x1c0drm_atomic_helper_disable_allfromdrm_atomic_helper_shutdown+0x88/0x140drm_atomic_helper_shutdownfromdevice_shutdown+0x16c/0x240device_shutdownfromkernel_restart+0x38/0x90
kernel_restartfrom__do_sys_reboot+0x174/0x224
__do_sys_rebootfromret_fast_syscall+0x0/0x1cException stack(0xe0851fa8 to 0xe0851ff0) 1fa0: 00000002 00000004 fee1dead 28121969 01234567 00079028 1fc0: 00000002 00000004 00000078 00000058 0002fdc5 00000000 00000000 00090acc 1fe0: 00000058 becc9c64 b6e97e05 b6e0e5f6 Code: 15922088 1184421c e1500003 1afffff8 (e5953000) ---[ end trace 0000000000000000 ]---
Quoted 7 lines
Quoted 3 lines
Fixes 0a58d2ae572a ("drm/msm: Make .remove and .shutdown HW shutdown consistent")Reported-by kernel test robot <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>How is this null pointer hitting?
priv->kmsis assigned in themsm_drm_init()which happens in the bind.
I think we want to solve this higher up.. hitting atomic commit path on a device which has no kms resources (planes, CRTCs, etc) seems pretty wrong
BR,
-R
Quoted 33 lines
Only then we register the dri card for the commit which means commit cannot come before that.
So, how can this sequence be possible?
Quoted 28 lines
---
Changes since v1:
- Moved setting of `async' before the call to trace to fix the uninitialized variable warning--- drivers/gpu/drm/msm/msm_atomic.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/msm/msm_atomic.c +6
-1@@ -186,7 +186,12 @@ void msm_atomic_commit_tail(struct drm_atomic_state *state)struct msm_kms *kms = priv->kms;struct drm_crtc *async_crtc =NULL ;unsigned crtc_mask =get_crtc_mask (state); -bool async = kms->funcs->vsync_time && +bool async; + +if (!kms) +return ; + + async = kms->funcs->vsync_time &&can_do_async (state, &async_crtc);trace_msm_atomic_commit_tail_start (async, crtc_mask);
Quoted 77 lines · Rob Clark
Quoted 76 lines · Abhinav Kumar
Quoted 2 lines · Dmitry Baryshkov
Fix another oops reproducible when rebooting the board with the Adreno GPU wokring in the headless mode (e.g. iMX platforms).
wokring ---> working
Quoted 69 lines
Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read [00000000] *pgd=74936831, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] ARM CPU: 0 PID: 51 Comm: reboot Not tainted 6.2.0-rc1-dirty #11 Hardware name: Freescale i.MX53 (Device Tree Support) PC is at msm_atomic_commit_tail+0x50/0x970 LR is at commit_tail+0x9c/0x188 pc : [<c06aa430>] lr : [<c067a214>] psr: 600e0013sp :
e0851d30ip :ee4eb7ebfp :00090acc
r10: 00000058 r9 :c2193014r8 :c4310000
r7 :c4759380r6 :07bef61dr5 : 00000000 r4 : 00000000
r3 :c44cc440r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs on FIQs on ModeSVC_32ISA ARM Segment none
Control:10c5387dTable: 74910019 DAC: 00000051
Register r0 information: NULL pointer
Register r1 information: NULL pointer
Register r2 information: NULL pointer
Register r3 information: slab kmalloc-1k startc44cc400pointer offset 64 size 1024 Register r4 information: NULL pointer
Register r5 information: NULL pointer
Register r6 information: non-paged memory
Register r7 information: slab kmalloc-128 startc4759380pointer offset 0 size 128 Register r8 information: slab kmalloc-2k startc4310000pointer offset 0 size 2048 Register r9 information: non-slab/vmalloc memory
Register r10 information: non-paged memory
Register r11 information: non-paged memory
Register r12 information: non-paged memory
Process reboot (pid: 51, stack limit =0xc80046d9)Stack: (0xe0851d30 to 0xe0852000)1d20:
c4759380fbd77200000005ff002b9c70
1d40:c4759380c47593800000000007bef61d00000600c0d6fe7cc219301400000058 1d60:00090accc067a21400000000c4759380c431000000000000c44cc854c067a89c1d80: 00000000 00000000 00000000c431046800000000c4759380c4310000c43104681da0:c4310470c0643258c475938000000000 00000000c0c4ee2400000000c44cc8101dc0: 00000000c0c4ee2400000000c44cc810000000000347d2a8e0851e00e0851e001de0:c4759380c067ad20c431000000000000c44cc810c27f8718c44cc854c067adb81e00:c493300000000002 00000001 00000000 00000000c213085000000000c21308541e20:c25fc48800000000c0ff162c00000000 00000001 00000002 00000000 00000000 1e40:c43102c0c43102c0000000000347d2a8c44cc810c44cc814c2133da8c06d1a601e60: 00000000 00000000 00079028c2012f24fee1deadc493300000000058c01431e41e80: 01234567c0143a2000000000 00000000 00000000 00000000 00000000 00000000 1ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1f80: 00000000 00000000 000000000347d2a800000002 00000004 00000078 00000058 1fa0:c010028cc010006000000002 00000004fee1dead28121969 01234567 00079028 1fc0: 00000002 00000004 00000078 000000580002fdc500000000 0000000000090acc1fe0: 00000058becc9c64b6e97e05b6e0e5f6600e0030fee1dead00000000 00000000
msm_atomic_commit_tailfromcommit_tail+0x9c/0x188
commit_tailfromdrm_atomic_helper_commit+0x160/0x188drm_atomic_helper_commitfromdrm_atomic_commit+0xac/0xe0drm_atomic_commitfromdrm_atomic_helper_disable_all+0x1b0/0x1c0drm_atomic_helper_disable_allfromdrm_atomic_helper_shutdown+0x88/0x140drm_atomic_helper_shutdownfromdevice_shutdown+0x16c/0x240device_shutdownfromkernel_restart+0x38/0x90
kernel_restartfrom__do_sys_reboot+0x174/0x224__do_sys_rebootfromret_fast_syscall+0x0/0x1cException stack(0xe0851fa8 to 0xe0851ff0) 1fa0: 00000002 00000004 fee1dead 28121969 01234567 00079028 1fc0: 00000002 00000004 00000078 00000058 0002fdc5 00000000 00000000 00090acc 1fe0: 00000058 becc9c64 b6e97e05 b6e0e5f6 Code: 15922088 1184421c e1500003 1afffff8 (e5953000) ---[ end trace 0000000000000000 ]---
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Fixes 0a58d2ae572a ("drm/msm: Make .remove and .shutdown HW shutdown consistent")Reported-by kernel test robot <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>How is this null pointer hitting?
priv->kmsis assigned in themsm_drm_init()which happens in the bind.
The headless A200 (e.g. on i.MX53) doesn't have KMS. This has been a frequent case causing issues in .shutdown path.
Quoted 4 lines
I think we want to solve this higher up.. hitting atomic commit path on a device which has no kms resources (planes, CRTCs, etc) seems pretty wrong
Fine with me. Would it be better to skip a call to drm_atomic_helper_shutdown() if there is no drm->kms?
Quoted 8 lines
BR,
-RQuoted 4 lines
Only then we register the dri card for the commit which means commit cannot come before that.
So, how can this sequence be possible?
Signature · 2 lines
With best wishes Dmitry