Skip to contentSkip to conversation

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

DISCUSSION [email protected] 2 participants 3 messages Feb 29, 2020 – Mar 2, 2020 Arm Qualcomm mailing list

lore
Share & tools
lore
#0 lore raw

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.

Thanks

Abhinav

#1 lore raw
Quoted 8 lines · On Fri, Feb 28, 2020 at 05:35:51PM -0800, [email protected] 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/

Quoted 7 lines

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

Hi Thierry

Thanks for the response.
We shall reimplement these locally in our drivers and push the next patchset.

Thanks

Abhinav

Quoted 30 lines · Thierry Reding
Quoted 8 lines · On Fri, Feb 28, 2020 at 05:35:51PM -0800, [email protected] 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/

Quoted 7 lines

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel