Messages in this thread |  | | From | Stephen Boyd <> | Date | Mon, 26 Jul 2021 19:55:50 -0400 | Subject | Re: [PATCH 2/5] drm/msm/dp: Modify prototype of encoder based API |
| |
Quoting Bjorn Andersson (2021-07-24 21:24:32) > Functions in the DisplayPort code that relates to individual instances > (encoders) are passed both the struct msm_dp and the struct drm_encoder. But > in a situation where multiple DP instances would exist this means that > the caller need to resolve which struct msm_dp relates to the struct > drm_encoder at hand. > > The information for doing this lookup is available inside the DP driver, > so update the API to take the struct msm_drm_private and the struct > drm_encoder and have the DP code figure out which struct msm_dp the > operation relates to. > > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> > ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
|  |