Re: [PATCH] drm/msm/mdp5: fix reading hw revision on db410c platform

2022-11-25 Thread Abhinav Kumar
On 11/25/2022 1:21 AM, Dmitry Baryshkov wrote: On 25/11/2022 07:45, Abhinav Kumar wrote: On 11/24/2022 4:02 PM, Dmitry Baryshkov wrote: Since the commit commit c6122688f265 ("drm/msm/mdp5: stop overriding drvdata") reading the MDP5 hw revision on db410c will crash the board as the MDSS_GDSC

Re: [PATCH] drm/msm/mdp5: fix reading hw revision on db410c platform

2022-11-25 Thread Dmitry Baryshkov
On 25/11/2022 07:45, Abhinav Kumar wrote: On 11/24/2022 4:02 PM, Dmitry Baryshkov wrote: Since the commit commit c6122688f265 ("drm/msm/mdp5: stop overriding drvdata") reading the MDP5 hw revision on db410c will crash the board as the MDSS_GDSC is not enabled. Revert a part of the offending

Re: [PATCH] drm/msm/mdp5: fix reading hw revision on db410c platform

2022-11-24 Thread Abhinav Kumar
On 11/24/2022 4:02 PM, Dmitry Baryshkov wrote: Since the commit commit c6122688f265 ("drm/msm/mdp5: stop overriding drvdata") reading the MDP5 hw revision on db410c will crash the board as the MDSS_GDSC is not enabled. Revert a part of the offending commit (moving rpm enablement) and set

[PATCH] drm/msm/mdp5: fix reading hw revision on db410c platform

2022-11-24 Thread Dmitry Baryshkov
Since the commit commit c6122688f265 ("drm/msm/mdp5: stop overriding drvdata") reading the MDP5 hw revision on db410c will crash the board as the MDSS_GDSC is not enabled. Revert a part of the offending commit (moving rpm enablement) and set priv->kms earlier. This make it possible to use