Re: [Freedreno] [PATCH v2 1/5] drm/msm/dp: Remove global g_dp_display variable

2021-08-25 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-08-25 16:42:29) > As the Qualcomm DisplayPort driver only supports a single instance of > the driver the commonly used struct dp_display is kept in a global > variable. As we introduce additional instances this obviously doesn't > work. > > Replace this with a combinat

[Freedreno] [PATCH v2 1/5] drm/msm/dp: Remove global g_dp_display variable

2021-08-25 Thread Bjorn Andersson
As the Qualcomm DisplayPort driver only supports a single instance of the driver the commonly used struct dp_display is kept in a global variable. As we introduce additional instances this obviously doesn't work. Replace this with a combination of existing references to adjacent objects and drvdat