Re: [PATCH v4 1/2] drm/msm/dp: Add support for determining the eDP/DP mode from DT

2024-03-24 Thread Dmitry Baryshkov
On Sun, 24 Mar 2024 at 20:57, Abel Vesa wrote: > > Instead of relying on different compatibles for eDP and DP, lookup > the panel node in devicetree to figure out the connector type and > then pass on that information to the PHY. External DP doesn't have > a panel described in DT, therefore,

[PATCH v4 1/2] drm/msm/dp: Add support for determining the eDP/DP mode from DT

2024-03-24 Thread Abel Vesa
Instead of relying on different compatibles for eDP and DP, lookup the panel node in devicetree to figure out the connector type and then pass on that information to the PHY. External DP doesn't have a panel described in DT, therefore, assume it's eDP if panel node is present. Signed-off-by: Abel

[PATCH v4 2/2] drm/msm/dp: Add support for the X1E80100

2024-03-24 Thread Abel Vesa
Add the X1E80100 DP descs and compatible. This platform will be using a single compatible for both eDP and DP mode. The actual mode will be set based on the presence of the panel node in DT. Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/dp/dp_display.c | 9

[PATCH v4 0/2] drm/msm/dp: Rework the eDP/DP modes and add support for X1E80100

2024-03-24 Thread Abel Vesa
dropped due to bindings concerns. So now we lookup the panel node in DT and based on it's presence we can safely say if it is eDP or not. The PHY counterpart patchset is here: https://lore.kernel.org/all/20240324-x1e80100-phy-edp-compatible-refactor-v5-0-a0db5f315...@linaro.org This patchset cannot

Re: [PATCH v4 04/16] drm/msm: move msm_gpummu.c to adreno/a2xx_gpummu.c

2024-03-24 Thread Dmitry Baryshkov
On Sun, 24 Mar 2024 at 11:55, Akhil P Oommen wrote: > > On Sat, Mar 23, 2024 at 12:56:56AM +0200, Dmitry Baryshkov wrote: > > The msm_gpummu.c implementation is used only on A2xx and it is tied to > > the A2xx registers. Rename the source file accordingly. > > > > There are very few functions in

Re: [PATCH v4 10/16] drm/msm: generate headers on the fly

2024-03-24 Thread Dmitry Baryshkov
On Sun, 24 Mar 2024 at 12:30, Akhil P Oommen wrote: > > On Sat, Mar 23, 2024 at 12:57:02AM +0200, Dmitry Baryshkov wrote: > > Generate DRM/MSM headers on the fly during kernel build. This removes a > > need to push register changes to Mesa with the following manual > > synchronization step.

Re: [PATCH v4 10/16] drm/msm: generate headers on the fly

2024-03-24 Thread Akhil P Oommen
On Sat, Mar 23, 2024 at 12:57:02AM +0200, Dmitry Baryshkov wrote: > Generate DRM/MSM headers on the fly during kernel build. This removes a > need to push register changes to Mesa with the following manual > synchronization step. Existing headers will be removed in the following > commits (split

Re: [PATCH v4 04/16] drm/msm: move msm_gpummu.c to adreno/a2xx_gpummu.c

2024-03-24 Thread Akhil P Oommen
On Sat, Mar 23, 2024 at 12:56:56AM +0200, Dmitry Baryshkov wrote: > The msm_gpummu.c implementation is used only on A2xx and it is tied to > the A2xx registers. Rename the source file accordingly. > There are very few functions in this file and a2xx_gpu.c is a relatively small source file too.