Re: [PATCH 1/2] drm/dp: Export drm_dp_dpcd_access()

2022-04-08 Thread Imre Deak
On Thu, Apr 07, 2022 at 10:32:11PM +0300, Jani Nikula wrote: > On Thu, 07 Apr 2022, Imre Deak wrote: > > The next patch needs a way to read a DPCD register without the preceding > > wake-up read in drm_dp_dpcd_read(). Export drm_dp_dpcd_access() to allow > > this. > > I think I'd rather you added

Re: [PATCH 1/2] drm/dp: Export drm_dp_dpcd_access()

2022-04-07 Thread Jani Nikula
On Thu, 07 Apr 2022, Imre Deak wrote: > The next patch needs a way to read a DPCD register without the preceding > wake-up read in drm_dp_dpcd_read(). Export drm_dp_dpcd_access() to allow > this. I think I'd rather you added a special "probe" function for this specific purpose. I think drm_dp_dpc

[PATCH 1/2] drm/dp: Export drm_dp_dpcd_access()

2022-04-07 Thread Imre Deak
The next patch needs a way to read a DPCD register without the preceding wake-up read in drm_dp_dpcd_read(). Export drm_dp_dpcd_access() to allow this. Cc: dri-devel@lists.freedesktop.org Signed-off-by: Imre Deak --- drivers/gpu/drm/dp/drm_dp.c| 19 +-- include/drm/dp/drm_dp_