Re: [v2 PATCH 1/3] drm/mediatek: Fix crash at using pkt->cl->chan in cmdq_pkt_finalize

2021-10-06 Thread Enric Balletbo Serra
Hi Chun-Kuang, Missatge de Chun-Kuang Hu del dia dv., 1 d’oct. 2021 a les 17:52: > > Hi, Enric: > > Enric Balletbo Serra 於 2021年9月30日 週四 下午9:48寫道: > > > > Hi Chun-Kuang, > > > > Missatge de Chun-Kuang Hu del dia dj., 30 de > > set. 2021 a les 15:11: > > > > > > Hi, Enric: > > > > > > Enric Ball

Re: [v2 PATCH 1/3] drm/mediatek: Fix crash at using pkt->cl->chan in cmdq_pkt_finalize

2021-10-01 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo Serra 於 2021年9月30日 週四 下午9:48寫道: > > Hi Chun-Kuang, > > Missatge de Chun-Kuang Hu del dia dj., 30 de > set. 2021 a les 15:11: > > > > Hi, Enric: > > > > Enric Balletbo Serra 於 2021年9月30日 週四 下午3:12寫道: > > > > > > Hi Jason, > > > > > > > > > Missatge de jason-jh.lin del

Re: [v2 PATCH 1/3] drm/mediatek: Fix crash at using pkt->cl->chan in cmdq_pkt_finalize

2021-09-30 Thread Enric Balletbo Serra
Hi Chun-Kuang, Missatge de Chun-Kuang Hu del dia dj., 30 de set. 2021 a les 15:11: > > Hi, Enric: > > Enric Balletbo Serra 於 2021年9月30日 週四 下午3:12寫道: > > > > Hi Jason, > > > > > > Missatge de jason-jh.lin del dia dj., 30 > > de set. 2021 a les 4:47: > > > > > > Because mtk_drm_crtc_create_pkt di

Re: [v2 PATCH 1/3] drm/mediatek: Fix crash at using pkt->cl->chan in cmdq_pkt_finalize

2021-09-30 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo Serra 於 2021年9月30日 週四 下午3:12寫道: > > Hi Jason, > > > Missatge de jason-jh.lin del dia dj., 30 > de set. 2021 a les 4:47: > > > > Because mtk_drm_crtc_create_pkt didn't assign pkt->cl, it will > > crash at using pkt->cl->chan in cmdq_pkt_finalize. > > > > So add struct cm

Re: [v2 PATCH 1/3] drm/mediatek: Fix crash at using pkt->cl->chan in cmdq_pkt_finalize

2021-09-30 Thread Enric Balletbo Serra
Hi Jason, Missatge de jason-jh.lin del dia dj., 30 de set. 2021 a les 4:47: > > Because mtk_drm_crtc_create_pkt didn't assign pkt->cl, it will > crash at using pkt->cl->chan in cmdq_pkt_finalize. > > So add struct cmdq_client and let mtk_drm_crtc instance define > cmdq_client as: > > struct mtk_

[v2 PATCH 1/3] drm/mediatek: Fix crash at using pkt->cl->chan in cmdq_pkt_finalize

2021-09-29 Thread jason-jh . lin
Because mtk_drm_crtc_create_pkt didn't assign pkt->cl, it will crash at using pkt->cl->chan in cmdq_pkt_finalize. So add struct cmdq_client and let mtk_drm_crtc instance define cmdq_client as: struct mtk_drm_crtc { /* client instance data */ struct cmdq_client cmdq_client; }; and