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

2022-04-18 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-04-15 16:47:25) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index 01453db..5b289b9 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -266,9 +269,18 @@ static int dp_display

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

2022-04-18 Thread Dmitry Baryshkov
On 16/04/2022 02:47, 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 dp_display_unbind(). Changes in v2: -- start event thread at dp_display_

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

2022-04-15 Thread Kuogee Hsieh
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(). Changes in v2: -- start event thread at dp_display_bind() Changes in v3: -- disable all HDP i