Re: [PATCH] drm/bridge:Fix the panic problem caused by bridge->funcs->attach

2023-04-24 Thread 余治国
two separate pipeline:crtc->encoder->bridge->connector->panel Jagan Teki 于2023年4月23日周日 19:10写道: > + Bridge Maintainers > > On Wed, Apr 19, 2023 at 8:35 AM 余治国 wrote: > > > > The log looks like this: > > [ 31.723823] Internal error: Oops: 9604 [#1] SMP\013 \010 > > [ 31.729030] Modules linke

Re: [PATCH] drm/bridge:Fix the panic problem caused by bridge->funcs->attach

2023-04-23 Thread Jagan Teki
+ Bridge Maintainers On Wed, Apr 19, 2023 at 8:35 AM 余治国 wrote: > > The log looks like this: > [ 31.723823] Internal error: Oops: 9604 [#1] SMP\013 \010 > [ 31.729030] Modules linked in:\013 \010 > [ 31.733395] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.59+2.0.0 #250\013 > \010 > [ 31.745

Re: [PATCH] drm/bridge:Fix the panic problem caused by bridge->funcs->attach

2023-04-20 Thread 余治国
The log looks like this: [ 31.723823] Internal error: Oops: 9604 [#1] SMP\013 \010 [ 31.729030] Modules linked in:\013 \010 [ 31.733395] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.59+2.0.0 #250\013 \010 [ 31.745167] pstate: 60c5 (nZCv daif +PAN +UAO -TCO BTYPE=--)\013 \010 [ 31.752785]

Re: [PATCH] drm/bridge:Fix the panic problem caused by bridge->funcs->attach

2023-04-18 Thread Jagan Teki
On Mon, Apr 17, 2023 at 12:52 PM logic.yu wrote: > > When the code is executed to bridge->funcs->attach,bridge->funcs is NULL. > Although the function entry checks whether the bridge pointer is NULL,it > does not detect whether the bridge->funcs is NULL, so a panic error > occurs. > > Signed-off-b

[PATCH] drm/bridge:Fix the panic problem caused by bridge->funcs->attach

2023-04-17 Thread logic.yu
When the code is executed to bridge->funcs->attach,bridge->funcs is NULL. Although the function entry checks whether the bridge pointer is NULL,it does not detect whether the bridge->funcs is NULL, so a panic error occurs. Signed-off-by: logic.yu --- drivers/gpu/drm/drm_bridge.c | 2 +- 1 file c