[Freedreno] [PATCH v4 1/8] drm/msm/dp: tie dp_display_irq_handler() with dp driver

2023-09-27 Thread Kuogee Hsieh
have dp_display_irq_handler() is tied with DP device. Changes in v4: -- delete dp->irq check at dp_display_request_irq() Changes in v3: -- move calling dp_display_irq_handler() to probe Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 29 + drivers/gpu/dr

[Freedreno] [PATCH v4 4/8] drm/msm/dp: move parser->parse() and dp_power_client_init() to probe

2023-09-27 Thread Kuogee Hsieh
Move parser->parse() and dp_power_client_init() from dp_display_bind() to dp_display_probe() in preparation of adding pm_runtime framework at next patch. Changes in v4: -- split this patch out of "incorporate pm_runtime framework into DP driver" patch Signed-off-by: Kuogee Hsieh

[Freedreno] [PATCH v4 5/8] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-09-27 Thread Kuogee Hsieh
pm_runtime_xx() from dp_pwer.c to this patch -- use pm_runtime_resume_and_get() instead of pm_runtime_get() -- error checking pm_runtime_resume_and_get() return value -- add EV_POWER_PM_GET and PM_EV_POWER_PUT to handle HPD_GPIO case Signed-off-by: Kuogee Hsieh Reported-by: kernel test robot --- drivers

[Freedreno] [PATCH v4 6/8] drm/msm/dp: delete EV_HPD_INIT_SETUP

2023-09-27 Thread Kuogee Hsieh
accordingly. Changes in v4: -- reworded commit text -- drop EV_HPD_INIT_SETUP -- drop msm_dp_irq_postinstall() Changes in v3: -- drop EV_HPD_INIT_SETUP and msm_dp_irq_postinstall() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4

[Freedreno] [PATCH v4 8/8] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-09-27 Thread Kuogee Hsieh
p_aux_populate_bus() Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_aux.c | 34 ++ drivers/gpu/drm/msm/dp/dp_display.c | 69 ++--- 2 files changed, 60 insertions(+), 43 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_aux.c b/driv

[Freedreno] [PATCH v4 3/8] drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes

2023-09-27 Thread Kuogee Hsieh
Currently DP driver use drm_helper_hpd_irq_event(), bypassing drm bridge framework, to report HPD status changes to user space frame work. Replace it with drm_bridge_hpd_notify() since DP driver is part of drm bridge. Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu

[Freedreno] [PATCH v4 7/8] drm/msm/dp: add pm_runtime_force_suspend()/resume()

2023-09-27 Thread Kuogee Hsieh
-- delete ST_SUSPENDED state -- rewording commit text to add more details regrading the purpose of this change Changes in v3: -- replace dp_pm_suspend() with pm_runtime_force_suspend() -- replace dp_pm_resume() with pm_runtime_force_resume() Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp

Re: [Freedreno] [PATCH v4 0/8] incorporate pm runtime framework and eDP clean up

2023-09-27 Thread Kuogee Hsieh
next patch. Thanks, On 9/27/2023 2:10 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: Incorporate pm runtime framework into DP driver and clean up eDP by moving of_dp_aux_populate_bus() to probe(). Dear Kuogee. Let me quote my response to v1 of your series: P

Re: [Freedreno] [PATCH v4 5/8] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-02 Thread Kuogee Hsieh
On 9/27/2023 2:41 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: Currently DP driver is executed independent of PM runtime framework. This lead to msm edp panel can not be detected by edp_panel driver at generic_edp_panel_probe() due to aux dpcd read failed at

Re: [Freedreno] [PATCH v4 5/8] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-02 Thread Kuogee Hsieh
On 9/27/2023 2:41 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: Currently DP driver is executed independent of PM runtime framework. This lead to msm edp panel can not be detected by edp_panel driver at generic_edp_panel_probe() due to aux dpcd read failed at

Re: [Freedreno] [PATCH v4 7/8] drm/msm/dp: add pm_runtime_force_suspend()/resume()

2023-10-03 Thread Kuogee Hsieh
On 9/27/2023 3:00 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: After incorporated pm_runtime framework into eDP/DP driver, the incorporating original dp_pm_suspend() to handle power off both DP phy and controller during suspend and dp_pm_resume() to

Re: [Freedreno] [PATCH v4 8/8] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-10-03 Thread Kuogee Hsieh
On 9/27/2023 2:57 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: Currently eDP population is done at msm_dp_modeset_init() which happen at binding time. Move eDP population to be done at display probe time so that probe deferral cases can be handled

Re: [Freedreno] [PATCH v4 8/8] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-10-03 Thread Kuogee Hsieh
On 9/27/2023 2:57 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: Currently eDP population is done at msm_dp_modeset_init() which happen at binding time. Move eDP population to be done at display probe time so that probe deferral cases can be handled

Re: [Freedreno] [PATCH v4 8/8] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-10-03 Thread Kuogee Hsieh
On 10/3/2023 10:56 AM, Dmitry Baryshkov wrote: On 03/10/2023 20:25, Kuogee Hsieh wrote: On 9/27/2023 2:57 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: Currently eDP population is done at msm_dp_modeset_init() which happen at binding time. Move eDP

Re: [Freedreno] [PATCH v4 7/8] drm/msm/dp: add pm_runtime_force_suspend()/resume()

2023-10-03 Thread Kuogee Hsieh
On 10/3/2023 10:53 AM, Dmitry Baryshkov wrote: On Tue, 3 Oct 2023 at 19:44, Kuogee Hsieh wrote: On 9/27/2023 3:00 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote: After incorporated pm_runtime framework into eDP/DP driver, the incorporating original

Re: [Freedreno] [PATCH v4 7/8] drm/msm/dp: add pm_runtime_force_suspend()/resume()

2023-10-03 Thread Kuogee Hsieh
On 10/3/2023 3:36 PM, Dmitry Baryshkov wrote: On Wed, 4 Oct 2023 at 01:12, Kuogee Hsieh wrote: On 10/3/2023 10:53 AM, Dmitry Baryshkov wrote: On Tue, 3 Oct 2023 at 19:44, Kuogee Hsieh wrote: On 9/27/2023 3:00 PM, Dmitry Baryshkov wrote: On Wed, 27 Sept 2023 at 23:54, Kuogee Hsieh wrote

[Freedreno] [PATCH v5 0/7] incorporate pm runtime framework and eDP clean up

2023-10-04 Thread Kuogee Hsieh
(), dp_pm_resume() and dp_pm_prepare(), are removed and replaced with functions provided by pm runtiem framework such as pm_runtime_force_suspend() and pm_runtime_force_resume(). In addition, both eDP aux-bus and irq handler are bound at system probe time too. Kuogee Hsieh (7): drm/msm/dp: tie

[Freedreno] [PATCH v5 1/7] drm/msm/dp: tie dp_display_irq_handler() with dp driver

2023-10-04 Thread Kuogee Hsieh
check at dp_display_request_irq() Changes in v3: -- move calling dp_display_irq_handler() to probe Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 32 +--- drivers/gpu/drm/msm/dp/dp_display.h | 1 - 2 files changed, 13 insertions(+), 20 deletions(

[Freedreno] [PATCH v5 2/7] drm/msm/dp: rename is_connected with link_ready

2023-10-04 Thread Kuogee Hsieh
in v5: -- reworded commit text according to review comments from change #4 Changes in v4: -- reworded commit text Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 19 +-- drivers/gpu/drm/msm/dp/dp_display.h | 2 +- drivers/gpu/drm/msm/dp/dp_drm.c

[Freedreno] [PATCH v5 4/7] drm/msm/dp: move parser->parse() and dp_power_client_init() to probe

2023-10-04 Thread Kuogee Hsieh
why parser->parse() and dp_power_client_init() are moved to probe time -- tear down sub modules if failed Changes in v4: -- split this patch out of "incorporate pm_runtime framework into DP driver" patch Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/d

[Freedreno] [PATCH v5 3/7] drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes

2023-10-04 Thread Kuogee Hsieh
Currently DP driver use drm_helper_hpd_irq_event(), bypassing drm bridge framework, to report HPD status changes to user space frame work. Replace it with drm_bridge_hpd_notify() since DP driver is part of drm bridge. Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu

[Freedreno] [PATCH v5 5/7] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-04 Thread Kuogee Hsieh
with pm_runtime_force_resume() Signed-off-by: Kuogee Hsieh Reported-by: kernel test robot --- drivers/gpu/drm/msm/dp/dp_aux.c | 5 ++ drivers/gpu/drm/msm/dp/dp_display.c | 166 drivers/gpu/drm/msm/dp/dp_power.c | 16 drivers/gpu/drm/msm/dp/dp_power.h | 11 -

[Freedreno] [PATCH v5 6/7] drm/msm/dp: delete EV_HPD_INIT_SETUP

2023-10-04 Thread Kuogee Hsieh
accordingly. Changes in v4: -- reworded commit text -- drop EV_HPD_INIT_SETUP -- drop msm_dp_irq_postinstall() Changes in v3: -- drop EV_HPD_INIT_SETUP and msm_dp_irq_postinstall() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4

[Freedreno] [PATCH v5 7/7] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-10-04 Thread Kuogee Hsieh
ze rc = 0 Changes in v3: -- add done_probing callback into devm_of_dp_aux_populate_bus() Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_aux.c | 34 - drivers/gpu/drm/msm/dp/dp_display.c | 59 +++-- 2 files changed, 51 insertion

Re: [Freedreno] [PATCH v5 5/7] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-06 Thread Kuogee Hsieh
On 10/6/2023 4:56 AM, Dmitry Baryshkov wrote: On 04/10/2023 19:26, Kuogee Hsieh wrote: Currently DP driver is executed independent of PM runtime framework. This leads msm eDP panel can not being detected by edp_panel driver during generic_edp_panel_probe() due to AUX DPCD read failed at edp

Re: [Freedreno] [PATCH v5 5/7] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-06 Thread Kuogee Hsieh
On 10/6/2023 11:04 AM, Dmitry Baryshkov wrote: On 06/10/2023 19:42, Kuogee Hsieh wrote: On 10/6/2023 4:56 AM, Dmitry Baryshkov wrote: On 04/10/2023 19:26, Kuogee Hsieh wrote: Currently DP driver is executed independent of PM runtime framework. This leads msm eDP panel can not being

[Freedreno] [PATCH v6 1/7] drm/msm/dp: tie dp_display_irq_handler() with dp driver

2023-10-06 Thread Kuogee Hsieh
check at dp_display_request_irq() Changes in v3: -- move calling dp_display_irq_handler() to probe Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 32 +--- drivers/gpu/drm/msm/dp/dp_display.h | 1 - 2 files cha

[Freedreno] [PATCH v6 0/7] incorporate pm runtime framework and eDP clean up

2023-10-06 Thread Kuogee Hsieh
(), dp_pm_resume() and dp_pm_prepare(), are removed and replaced with functions provided by pm runtiem framework such as pm_runtime_force_suspend() and pm_runtime_force_resume(). In addition, both eDP aux-bus and irq handler are bound at system probe time too. Kuogee Hsieh (7): drm/msm/dp: tie

[Freedreno] [PATCH v6 3/7] drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes

2023-10-06 Thread Kuogee Hsieh
Currently DP driver use drm_helper_hpd_irq_event(), bypassing drm bridge framework, to report HPD status changes to user space frame work. Replace it with drm_bridge_hpd_notify() since DP driver is part of drm bridge. Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu

[Freedreno] [PATCH v6 2/7] drm/msm/dp: rename is_connected with link_ready

2023-10-06 Thread Kuogee Hsieh
in v5: -- reworded commit text according to review comments from change #4 Changes in v4: -- reworded commit text Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 19 +-- drivers/gpu/drm/msm/dp/dp_display.h | 2 +- drivers/gp

[Freedreno] [PATCH v6 5/7] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-06 Thread Kuogee Hsieh
pend() -- replace dp_pm_resume() with pm_runtime_force_resume() Signed-off-by: Kuogee Hsieh Reported-by: kernel test robot --- drivers/gpu/drm/msm/dp/dp_aux.c | 5 ++ drivers/gpu/drm/msm/dp/dp_display.c | 167 drivers/gpu/drm/msm/dp/dp_power.c | 16

[Freedreno] [PATCH v6 6/7] drm/msm/dp: delete EV_HPD_INIT_SETUP

2023-10-06 Thread Kuogee Hsieh
accordingly. Changes in v4: -- reworded commit text -- drop EV_HPD_INIT_SETUP -- drop msm_dp_irq_postinstall() Changes in v3: -- drop EV_HPD_INIT_SETUP and msm_dp_irq_postinstall() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4

[Freedreno] [PATCH v6 4/7] drm/msm/dp: move parser->parse() and dp_power_client_init() to probe

2023-10-06 Thread Kuogee Hsieh
ove dp_power_client_deinit() to remove() Changes in v5: -- explain why parser->parse() and dp_power_client_init() are moved to probe time -- tear down sub modules if failed Changes in v4: -- split this patch out of "incorporate pm_runtime framework into DP driver" patch Signed-off-

[Freedreno] [PATCH v6 7/7] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-10-06 Thread Kuogee Hsieh
ze rc = 0 Changes in v3: -- add done_probing callback into devm_of_dp_aux_populate_bus() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_aux.c | 34 - drivers/gpu/drm/msm/dp/dp_display.c | 59 +++-

Re: [Freedreno] [PATCH v6 5/7] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-06 Thread Kuogee Hsieh
On 10/6/2023 2:49 PM, Dmitry Baryshkov wrote: On 07/10/2023 00:38, Kuogee Hsieh wrote: Currently DP driver is executed independent of PM runtime framework. This leads msm eDP panel can not being detected by edp_panel driver during generic_edp_panel_probe() due to AUX DPCD read failed at edp

[Freedreno] [PATCH v7 0/7] incorporate pm runtime framework and eDP clean up

2023-10-06 Thread Kuogee Hsieh
(), dp_pm_resume() and dp_pm_prepare(), are removed and replaced with functions provided by pm runtiem framework such as pm_runtime_force_suspend() and pm_runtime_force_resume(). In addition, both eDP aux-bus and irq handler are bound at system probe time too. Kuogee Hsieh (7): drm/msm/dp: tie

[Freedreno] [PATCH v7 4/7] drm/msm/dp: move parser->parse() and dp_power_client_init() to probe

2023-10-06 Thread Kuogee Hsieh
ove dp_power_client_deinit() to remove() Changes in v5: -- explain why parser->parse() and dp_power_client_init() are moved to probe time -- tear down sub modules if failed Changes in v4: -- split this patch out of "incorporate pm_runtime framework into DP driver" patch Signed-off-

[Freedreno] [PATCH v7 6/7] drm/msm/dp: delete EV_HPD_INIT_SETUP

2023-10-06 Thread Kuogee Hsieh
accordingly. Changes in v4: -- reworded commit text -- drop EV_HPD_INIT_SETUP -- drop msm_dp_irq_postinstall() Changes in v3: -- drop EV_HPD_INIT_SETUP and msm_dp_irq_postinstall() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4

[Freedreno] [PATCH v7 7/7] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-10-06 Thread Kuogee Hsieh
initialize rc = 0 Changes in v3: -- add done_probing callback into devm_of_dp_aux_populate_bus() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_aux.c | 34 - drivers/gpu/drm/msm/dp/dp_display.c | 59 +++-

[Freedreno] [PATCH v7 5/7] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-10-06 Thread Kuogee Hsieh
ntime_resume_and_get() instead of pm_runtime_get() -- error checking pm_runtime_resume_and_get() return value -- add EV_POWER_PM_GET and PM_EV_POWER_PUT to handle HPD_GPIO case -- replace dp_pm_suspend() with pm_runtime_force_suspend() -- replace dp_pm_resume() with pm_runtime_force_resume() Signed-

[Freedreno] [PATCH v7 1/7] drm/msm/dp: tie dp_display_irq_handler() with dp driver

2023-10-06 Thread Kuogee Hsieh
check at dp_display_request_irq() Changes in v3: -- move calling dp_display_irq_handler() to probe Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 32 +--- drivers/gpu/drm/msm/dp/dp_display.h | 1 - 2 files cha

[Freedreno] [PATCH v7 3/7] drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes

2023-10-06 Thread Kuogee Hsieh
Currently DP driver use drm_helper_hpd_irq_event(), bypassing drm bridge framework, to report HPD status changes to user space frame work. Replace it with drm_bridge_hpd_notify() since DP driver is part of drm bridge. Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu

[Freedreno] [PATCH v7 2/7] drm/msm/dp: rename is_connected with link_ready

2023-10-06 Thread Kuogee Hsieh
in v5: -- reworded commit text according to review comments from change #4 Changes in v4: -- reworded commit text Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 19 +-- drivers/gpu/drm/msm/dp/dp_display.h | 2 +- drivers/gp

Re: [Freedreno] [PATCH v7 0/7] incorporate pm runtime framework and eDP clean up

2023-11-07 Thread Kuogee Hsieh
On 11/6/2023 5:55 PM, Dmitry Baryshkov wrote: On Sat, 7 Oct 2023 at 01:55, Kuogee Hsieh wrote: The purpose of this patch series is to incorporate pm runtime framework into MSM eDP/DP driver so that eDP panel can be detected by DRM eDP panel driver during system probe time. During

Re: [Freedreno] [PATCH v7 0/7] incorporate pm runtime framework and eDP clean up

2023-11-08 Thread Kuogee Hsieh
On 11/7/2023 1:23 PM, Dmitry Baryshkov wrote: On Tue, 7 Nov 2023 at 23:01, Kuogee Hsieh wrote: On 11/6/2023 5:55 PM, Dmitry Baryshkov wrote: On Sat, 7 Oct 2023 at 01:55, Kuogee Hsieh wrote: The purpose of this patch series is to incorporate pm runtime framework into MSM eDP/DP driver so

Re: [Freedreno] [PATCH v7 0/7] incorporate pm runtime framework and eDP clean up

2023-11-09 Thread Kuogee Hsieh
On 11/8/2023 10:27 AM, Abhinav Kumar wrote: On 11/8/2023 10:10 AM, Kuogee Hsieh wrote: On 11/7/2023 1:23 PM, Dmitry Baryshkov wrote: On Tue, 7 Nov 2023 at 23:01, Kuogee Hsieh wrote: On 11/6/2023 5:55 PM, Dmitry Baryshkov wrote: On Sat, 7 Oct 2023 at 01:55, Kuogee Hsieh wrote: The

Re: [Freedreno] [PATCH v7 0/7] incorporate pm runtime framework and eDP clean up

2023-11-09 Thread Kuogee Hsieh
On 11/9/2023 12:35 PM, Dmitry Baryshkov wrote: Hello Kuogee, On Thu, 9 Nov 2023 at 19:51, Kuogee Hsieh wrote: On 11/8/2023 10:27 AM, Abhinav Kumar wrote: On 11/8/2023 10:10 AM, Kuogee Hsieh wrote: On 11/7/2023 1:23 PM, Dmitry Baryshkov wrote: On Tue, 7 Nov 2023 at 23:01, Kuogee Hsieh

[Freedreno] [PATCH v8 2/7] drm/msm/dp: rename is_connected with link_ready

2023-11-29 Thread Kuogee Hsieh
in v5: -- reworded commit text according to review comments from change #4 Changes in v4: -- reworded commit text Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 19 +-- drivers/gpu/drm/msm/dp/dp_display.h | 2 +- drivers/gp

[Freedreno] [PATCH v8 0/7] incorporate pm runtime framework and eDP clean up

2023-11-29 Thread Kuogee Hsieh
top of latest msm-next branch Kuogee Hsieh (7): drm/msm/dp: tie dp_display_irq_handler() with dp driver drm/msm/dp: rename is_connected with link_ready drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes drm/msm/dp: move parser->parse() and dp_power_client_init() to pr

[Freedreno] [PATCH v8 1/7] drm/msm/dp: tie dp_display_irq_handler() with dp driver

2023-11-29 Thread Kuogee Hsieh
check at dp_display_request_irq() Changes in v3: -- move calling dp_display_irq_handler() to probe Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 32 +--- drivers/gpu/drm/msm/dp/dp_display.h | 1 - 2 files cha

[Freedreno] [PATCH v8 6/7] drm/msm/dp: delete EV_HPD_INIT_SETUP

2023-11-29 Thread Kuogee Hsieh
accordingly. Changes in v4: -- reworded commit text -- drop EV_HPD_INIT_SETUP -- drop msm_dp_irq_postinstall() Changes in v3: -- drop EV_HPD_INIT_SETUP and msm_dp_irq_postinstall() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4

[Freedreno] [PATCH v8 5/7] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-11-29 Thread Kuogee Hsieh
ntime_resume_and_get() instead of pm_runtime_get() -- error checking pm_runtime_resume_and_get() return value -- add EV_POWER_PM_GET and PM_EV_POWER_PUT to handle HPD_GPIO case -- replace dp_pm_suspend() with pm_runtime_force_suspend() -- replace dp_pm_resume() with pm_runtime_force_resume() Signed-

[Freedreno] [PATCH v8 3/7] drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes

2023-11-29 Thread Kuogee Hsieh
Currently DP driver use drm_helper_hpd_irq_event(), bypassing drm bridge framework, to report HPD status changes to user space frame work. Replace it with drm_bridge_hpd_notify() since DP driver is part of drm bridge. Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu

[Freedreno] [PATCH v8 4/7] drm/msm/dp: move parser->parse() and dp_power_client_init() to probe

2023-11-29 Thread Kuogee Hsieh
ove dp_power_client_deinit() to remove() Changes in v5: -- explain why parser->parse() and dp_power_client_init() are moved to probe time -- tear down sub modules if failed Changes in v4: -- split this patch out of "incorporate pm_runtime framework into DP driver" patch Signed-off-

[Freedreno] [PATCH v8 7/7] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-11-29 Thread Kuogee Hsieh
initialize rc = 0 Changes in v3: -- add done_probing callback into devm_of_dp_aux_populate_bus() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_aux.c | 34 - drivers/gpu/drm/msm/dp/dp_display.c | 59 +++-

[Freedreno] [PATCH v1] drm/msm/dpu: improve DSC allocation

2023-11-29 Thread Kuogee Hsieh
, the DSC with even index have to mapping to even pingpong index and DSC with odd index have to mapping to odd pingpong index at its data path. This patch improve DSC allocation mechanism with consideration of above factors. Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c

[Freedreno] [PATCH v9 2/7] drm/msm/dp: rename is_connected with link_ready

2023-12-01 Thread Kuogee Hsieh
in v5: -- reworded commit text according to review comments from change #4 Changes in v4: -- reworded commit text Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 19 +-- drivers/gpu/drm/msm/dp/dp_display.h | 2 +- drivers/gp

[Freedreno] [PATCH v9 4/7] drm/msm/dp: move parser->parse() and dp_power_client_init() to probe

2023-12-01 Thread Kuogee Hsieh
ove dp_power_client_deinit() to remove() Changes in v5: -- explain why parser->parse() and dp_power_client_init() are moved to probe time -- tear down sub modules if failed Changes in v4: -- split this patch out of "incorporate pm_runtime framework into DP driver" patch Signed-off-

[Freedreno] [PATCH v9 3/7] drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes

2023-12-01 Thread Kuogee Hsieh
Currently DP driver use drm_helper_hpd_irq_event(), bypassing drm bridge framework, to report HPD status changes to user space frame work. Replace it with drm_bridge_hpd_notify() since DP driver is part of drm bridge. Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu

[Freedreno] [PATCH v9 0/7] incorporate pm runtime framework and eDP clean up

2023-12-01 Thread Kuogee Hsieh
on top of latest msm-next branch Kuogee Hsieh (7): drm/msm/dp: tie dp_display_irq_handler() with dp driver drm/msm/dp: rename is_connected with link_ready drm/msm/dp: use drm_bridge_hpd_notify() to report HPD status changes drm/msm/dp: move parser->parse() and dp_power_client_init()

[Freedreno] [PATCH v9 1/7] drm/msm/dp: tie dp_display_irq_handler() with dp driver

2023-12-01 Thread Kuogee Hsieh
check at dp_display_request_irq() Changes in v3: -- move calling dp_display_irq_handler() to probe Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 32 +--- drivers/gpu/drm/msm/dp/dp_display.h | 1 - 2 files cha

[Freedreno] [PATCH v9 7/7] drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()

2023-12-01 Thread Kuogee Hsieh
initialize rc = 0 Changes in v3: -- add done_probing callback into devm_of_dp_aux_populate_bus() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_aux.c | 34 - drivers/gpu/drm/msm/dp/dp_display.c | 59 +++-

[Freedreno] [PATCH v9 5/7] drm/msm/dp: incorporate pm_runtime framework into DP driver

2023-12-01 Thread Kuogee Hsieh
dp_pm_suspend() with pm_runtime_force_suspend() -- replace dp_pm_resume() with pm_runtime_force_resume() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_aux.c | 5 + drivers/gpu/drm/msm/dp/dp_display.c | 181 ++-- drivers/gpu/d

[Freedreno] [PATCH v9 6/7] drm/msm/dp: delete EV_HPD_INIT_SETUP

2023-12-01 Thread Kuogee Hsieh
accordingly. Changes in v4: -- reworded commit text -- drop EV_HPD_INIT_SETUP -- drop msm_dp_irq_postinstall() Changes in v3: -- drop EV_HPD_INIT_SETUP and msm_dp_irq_postinstall() Signed-off-by: Kuogee Hsieh Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4

Re: [Freedreno] [PATCH v1] drm/msm/dpu: improve DSC allocation

2023-12-04 Thread Kuogee Hsieh
On 11/29/2023 7:57 PM, Dmitry Baryshkov wrote: On Wed, 29 Nov 2023 at 22:31, Kuogee Hsieh wrote: A DCE (Display Compression Engine) contains two DSC hard slice encoders. Each DCE start with even DSC encoder index followed by an odd DSC encoder index. Each encoder can work independently. But

[Freedreno] [PATCH v2] drm/msm/dpu: improve DSC allocation

2023-12-04 Thread Kuogee Hsieh
_dpu_rm_reserve_dsc_single() and _dpu_rm_reserve_dsc_pair() Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 171 ++--- 1 file changed, 156 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c

Re: [Freedreno] [PATCH v2] drm/msm/dpu: improve DSC allocation

2023-12-05 Thread Kuogee Hsieh
On 12/4/2023 4:23 PM, Dmitry Baryshkov wrote: On Tue, 5 Dec 2023 at 01:55, Kuogee Hsieh wrote: A DCE (Display Compression Engine) contains two DSC hard slice encoders. Each DCE start with even DSC encoder index followed by an odd DSC encoder index. Each encoder can work independently. But

Re: [Freedreno] [PATCH v2] drm/msm/dpu: improve DSC allocation

2023-12-05 Thread Kuogee Hsieh
On 12/5/2023 11:23 AM, Dmitry Baryshkov wrote: On Tue, 5 Dec 2023 at 20:12, Kuogee Hsieh wrote: On 12/4/2023 4:23 PM, Dmitry Baryshkov wrote: On Tue, 5 Dec 2023 at 01:55, Kuogee Hsieh wrote: A DCE (Display Compression Engine) contains two DSC hard slice encoders. Each DCE start with even

Re: [Freedreno] [PATCH v2] drm/msm/dpu: improve DSC allocation

2023-12-06 Thread Kuogee Hsieh
On 12/6/2023 1:35 AM, Dmitry Baryshkov wrote: On 05/12/2023 22:51, Kuogee Hsieh wrote: On 12/5/2023 11:23 AM, Dmitry Baryshkov wrote: On Tue, 5 Dec 2023 at 20:12, Kuogee Hsieh wrote: On 12/4/2023 4:23 PM, Dmitry Baryshkov wrote: On Tue, 5 Dec 2023 at 01:55, Kuogee Hsieh wrote: A DCE

Re: [Freedreno] [PATCH v4 3/3] drm/msm/dp: replace DRM_DEBUG_DP marco with drm_dbg_dp

2022-04-01 Thread Kuogee Hsieh
Hi Stephen, Would you please help to pick this patch up to msm-next? Thanks, On 2/24/2022 10:40 AM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-02-17 10:35:30) Since DRM_DEBUG_DP is deprecated in favor of drm_dbg_dp(NULL, ...), this patch replace all DRM_DEBUG_DP with drm_dbg_dp

Re: [Freedreno] [PATCH v12 4/4] drm/msm/dp: enable widebus feature for display port

2022-04-01 Thread Kuogee Hsieh
Hi Stephen, Would you please to help land this serial of 4 patch into msm-next? Thanks, On 2/25/2022 2:17 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-02-25 13:23:12) Widebus feature will transmit two pixel data per pixel clock to interface. This feature now is required to be enabled

Re: [Freedreno] [PATCH v12 4/4] drm/msm/dp: enable widebus feature for display port

2022-04-01 Thread Kuogee Hsieh
On 4/1/2022 1:00 PM, Kuogee Hsieh wrote: Hi Stephen, Would you please to help land this serial of 4 patch into msm-next? My mistake, should be kernel v5.15 Thanks, On 2/25/2022 2:17 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-02-25 13:23:12) Widebus feature will transmit two

Re: [Freedreno] [PATCH v4 3/3] drm/msm/dp: replace DRM_DEBUG_DP marco with drm_dbg_dp

2022-04-01 Thread Kuogee Hsieh
On 4/1/2022 12:51 PM, Kuogee Hsieh wrote: Hi Stephen, Would you please help to pick this patch up to msm-next? my mistake, should kernel v5.15 Thanks, On 2/24/2022 10:40 AM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-02-17 10:35:30) Since DRM_DEBUG_DP is deprecated in favor of

Re: [Freedreno] [PATCH v2 4/4] drm/msm/dp: make dp_connector_mode_valid() more precise

2022-04-04 Thread Kuogee Hsieh
On 3/30/2022 3:30 PM, Dmitry Baryshkov wrote: Make dp_connector_mode_valid() return precise MODE_CLOCK_HIGH rather than generic MODE_BAD in case the mode clock is higher than DP_MAX_PIXEL_CLK_KHZ (675 MHz). Signed-off-by: Dmitry Baryshkov --- Reviewed-by: Kuogee Hsieh drivers/gpu/drm

[Freedreno] [PATCH] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-05 Thread Kuogee Hsieh
connect_pending_timeout and disconnect_pending_timeout were not implemented correctly. This patch enhance both timeout functions to tear down main link and video stream correctly once timer is fired. Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Ku

Re: [Freedreno] [PATCH] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-06 Thread Kuogee Hsieh
On 4/5/2022 12:48 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-04-05 11:17:07) HPD plugin handle is responsible for setting up main link and depend on Is "HPD plugin handle" a function? Can you use the function name? user space frame work to start video stream. Simi

[Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-06 Thread Kuogee Hsieh
unplug followed by plugin event. Changes in v2: -- replace dp_display_usbpd_disconnect_cb with dp_display_notify_disconnect Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_ctrl

[Freedreno] [PATCH] drm/msm/dp: add fail safe mode outside of event_mutex context

2022-04-07 Thread Kuogee Hsieh
There is possible circular locking dependency detected on event_mutex. To break this possible circular locking, this patch move setting fail safe mode out of event_mutex scope. Fixes: d4aca422539c ("drm/msm/dp: always add fail-safe mode into connector mode list") Signed-off-by: Ku

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-08 Thread Kuogee Hsieh
On 4/8/2022 5:27 AM, Dmitry Baryshkov wrote: On 07/04/2022 00:28, Kuogee Hsieh wrote: dp_hpd_plug_handle() is responsible for setting up main link and send uevent to notify user space framework to start video stream. Similarly, dp_hdp_unplug_handle is responsible to send uevent to notify user

[Freedreno] [PATCH v2] drm/msm/dp: add fail safe mode outside of event_mutex context

2022-04-08 Thread Kuogee Hsieh
: d4aca422539c ("drm/msm/dp: always add fail-safe mode into connector mode list") Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 6 ++ drivers/gpu/drm/msm/dp/dp_panel.c | 20 ++-- drivers/gpu/drm/msm/dp/dp_panel.h | 1 + 3 files changed,

[Freedreno] [PATCH] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-11 Thread Kuogee Hsieh
t;) Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 01453db..fa1ef8e 100644 --- a/drivers/gpu/

[Freedreno] [PATCH v2] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-13 Thread Kuogee Hsieh
sm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 40 +++-- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_di

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-14 Thread Kuogee Hsieh
On 4/13/2022 5:02 PM, Stephen Boyd wrote: The subject is still misleading. It is fixing something. It may be enhancing it as well but it is clearly fixing it first. Quoting Kuogee Hsieh (2022-04-06 14:28:13) dp_hpd_plug_handle() is responsible for setting up main link and send uevent to

Re: [Freedreno] [PATCH v2] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Kuogee Hsieh
On 4/13/2022 4:19 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-04-13 14:04:25) Current DP driver implementation, event thread is kept running after DP display is unbind. This patch fix this problem by disabling DP irq and stop event thread to exit gracefully at dp_display_unbind

[Freedreno] [PATCH v3] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Kuogee Hsieh
;drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 42 - 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_

[Freedreno] [PATCH] drm/msm/dp: tear down main link at unplug handle immediately

2022-04-14 Thread Kuogee Hsieh
dp_disconnect_pending_timeout() are removed to reduce logic complexity. Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_ctrl.c| 29 +++ drivers/gpu/drm/msm/dp/dp_ctrl.h| 1 + d

[Freedreno] [PATCH v4] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Kuogee Hsieh
relocate both dp_display_bind() and dp_display_unbind() to bottom of file Fixes: e91e3065a806 ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 345 +++--

[Freedreno] [PATCH v5] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-14 Thread Kuogee Hsieh
relocate both dp_display_bind() and dp_display_unbind() to bottom of file Changes in v5: -- cancel relocation of both dp_display_bind() and dp_display_unbind() Fixes: e91e3065a806 ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitry Baryshk

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-14 Thread Kuogee Hsieh
On 4/8/2022 4:59 PM, Dmitry Baryshkov wrote: On Fri, 8 Apr 2022 at 23:30, Kuogee Hsieh wrote: On 4/8/2022 5:27 AM, Dmitry Baryshkov wrote: On 07/04/2022 00:28, Kuogee Hsieh wrote: dp_hpd_plug_handle() is responsible for setting up main link and send uevent to notify user space framework

[Freedreno] [PATCH v6] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-15 Thread Kuogee Hsieh
ets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitry Baryshkov Reviewed-by: Stephen Boyd --- drivers/gpu/drm/msm/dp/dp_display.c | 35 --- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/m

[Freedreno] [PATCH v7] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-15 Thread Kuogee Hsieh
unction Fixes: e91e3065a806 ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitry Baryshkov Reviewed-by: Stephen Boyd --- drivers/gpu/drm/msm/dp/dp_display.c | 31 --- 1 file changed, 24 insertions(

Re: [Freedreno] [PATCH v7] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-15 Thread Kuogee Hsieh
On 4/15/2022 3:48 PM, Dmitry Baryshkov wrote: On Sat, 16 Apr 2022 at 01:34, Kuogee Hsieh wrote: Current DP driver implementation, event thread is kept running after DP display is unbind. This patch fix this problem by disabling DP irq and stop event thread to exit gracefully at

Re: [Freedreno] [PATCH v7] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-15 Thread Kuogee Hsieh
On 4/15/2022 4:27 PM, Dmitry Baryshkov wrote: On Sat, 16 Apr 2022 at 02:10, Kuogee Hsieh wrote: On 4/15/2022 3:48 PM, Dmitry Baryshkov wrote: On Sat, 16 Apr 2022 at 01:34, Kuogee Hsieh wrote: Current DP driver implementation, event thread is kept running after DP display is unbind. This

[Freedreno] [PATCH v8] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-15 Thread Kuogee Hsieh
top() function Changes in v8: -- return error immediately if audio registration failed. Fixes: e91e3065a806 ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitry Baryshkov Reviewed-by: Stephen Boyd --- drivers/gpu/drm/

[Freedreno] [PATCH v9] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-15 Thread Kuogee Hsieh
top() function Changes in v8: -- return error immediately if audio registration failed. Changes in v9: -- return error immediately if event thread create failed. Fixes: e91e3065a806 ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitr

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-15 Thread Kuogee Hsieh
On 4/14/2022 4:34 PM, Dmitry Baryshkov wrote: On 15/04/2022 01:06, Kuogee Hsieh wrote: On 4/8/2022 4:59 PM, Dmitry Baryshkov wrote: On Fri, 8 Apr 2022 at 23:30, Kuogee Hsieh wrote: On 4/8/2022 5:27 AM, Dmitry Baryshkov wrote: On 07/04/2022 00:28, Kuogee Hsieh wrote: dp_hpd_plug_handle

[Freedreno] [PATCH v10] drm/msm/dp: stop event kernel thread when DP unbind

2022-04-18 Thread Kuogee Hsieh
ompliance tests on Snapdragon Chipsets") Signed-off-by: Kuogee Hsieh Reported-by: Dmitry Baryshkov Reviewed-by: Stephen Boyd Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_display.c | 39 + 1 file changed, 31 insertions(+), 8 deletions(-) d

Re: [Freedreno] [PATCH v2] drm/msm/dp: enhance both connect and disconnect pending_timeout handle

2022-04-20 Thread Kuogee Hsieh
On 4/20/2022 3:58 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-04-15 17:06:48) On 4/14/2022 4:34 PM, Dmitry Baryshkov wrote: I'm not sure how should the driver react if the client doesn't disable the output, but then the sink gets reattached? I do not know that either. But

[Freedreno] [PATCH] drm/msm/dp: move add fail safe mode to dp_connector_get_mode()

2022-04-22 Thread Kuogee Hsieh
l+0x78/0x224 el0_svc_common+0x178/0x200 do_el0_svc+0x94/0x13c el0_svc+0x5c/0xec el0t_64_sync_handler+0x78/0x108 el0t_64_sync+0x1a4/0x1a8 Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 6 -- drivers/gpu/drm/msm/dp/dp_panel.c | 23

[Freedreno] [PATCH v1 0/2] fix DP phy compliance test

2022-04-25 Thread Kuogee Hsieh
Current DP phy compliance test failed due to test pattern generation was terminated premature. Kuogee Hsieh (2): drm/msm/dp: reset DP controller before transmit phy test pattern drm/msm/dp: do not stop transmitting phy test pattern during DP phy compliance test drivers/gpu/drm/msm/dp

<    1   2   3   4   5   6   7   8   9   10   >