Reverting https://patchwork.freedesktop.org/patch/336850/

Thierry Reding thierry.reding at gmail.com
Mon Mar 2 08:09:12 UTC 2020


On Fri, Feb 28, 2020 at 05:35:51PM -0800, abhinavk at codeaurora.org wrote:
> Hi Thierry
> 
> For DP drivers using MSM chipsets, we are using drm_dp_link_configure,
> drm_dp_link_power_up and drm_dp_link_power_down functions. Here is the patch
> for reference:
> 
> https://patchwork.freedesktop.org/patch/343346/
> 
> We will be posting a newer version of the driver soon.
> 
> For that, we plan to revert https://patchwork.freedesktop.org/patch/336850/
> as now there are more users of the functions and not just tegra.
> 
> Let us know if this is the right approach or shall we make the required
> functions local to our drivers.

I think reimplementing these locally in you drivers is the preferred
way. It's not so much a lack of users (there were 5 or so in total when
I made the change to remove these helpers), but rather the general
approach that was being criticized by other driver maintainers. I'm not
aware of any of their opinions having changed on this subject, so I'd
recommend going down the path of least resistance.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200302/e99d133d/attachment.sig>


More information about the dri-devel mailing list