Returns the number of bytes transferred (1) on success.
Check the return value to confirm that AUX communication is successful.
Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Liankun Yang
---
Changes in V4:
- Fix IF judgement cond
Returns the number of bytes transferred (1) on success.
Check the return value to confirm that AUX communication is successful.
Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Liankun Yang
---
Changes in V3:
- Using drm_dp_read_sink_count()
Returns the number of bytes transferred (1) on success.
Check the return value to confirm that AUX communication is successful.
Fixes: d9e6ea02fc3f ("drm/mediatek: dp: Add MT8195 External DisplayPort
support")
Signed-off-by: Liankun Yang
---
Changes in V2:
- Modify Fixes in Commit Me
.
Through experiments, it can be restored by resetting the SDP path
when unplugging it.
Signed-off-by: Liankun Yang
Reviewed-by: AngeloGioacchino Del Regno
---
Changes in V4:
- Fix align to the right of '('.
Per suggestion from the previous thread:
https://patchwork.kernel.org/project/linu
. Subsequently, DP work can proceed based on
the actual maximum bandwidth.
It should training in the hpd event thread.
Check the mode with lane count and link rate of training.
Signed-off-by: Liankun Yang
---
- Adjust DP training timing.
- Adjust parse capabilities timing.
- Add power on/off for
DisplayPort driver")
Signed-off-by: Liankun Yang
---
Change in V2
- Modify the value written to the register
Per suggestion from the previous thread:
https://patchwork.kernel.org/project/linux-mediatek/patch/20240510021810.19302-1-liankun.y...@mediatek.com/
---
drivers/gpu/drm/mediat
to use.
Fixed YCbCr422 problem and bandwidth calculation from color format are
both in the color format category, so they are bound.
In summary, YCbCr 422 and mode valid must rely on DP training timing,
so they are strongly bound.
Liankun Yang (3):
drm/mediatek: Fix YCbCr422 color format issue
10.
Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Liankun Yang
---
Change in V2:
- Adjust the writing style.
- Add instructions.
---
drivers/gpu/drm/mediatek/mtk_dp.c | 28 +---
1 file changed, 17 insertions(+), 11 delet
Returns the number of bytes transferred (1) on success.
Check the return value to confirm that AUX communication is successful.
Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Liankun Yang
---
drivers/gpu/drm/mediatek/mtk_dp.c | 8 ++
If the len is 0, kernel crash will occur when performing operations.
Add the len check conditions to prevent kernel crash.
Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Liankun Yang
---
Changes in V2:
- Fix the commit title.
- Remove
If the len is 0, kernel crash will occur when performing operations.
Add the len check conditions to prevent kernel crash.
Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Liankun Yang
---
drivers/gpu/drm/mediatek/mtk_dp.c | 2 +-
1 file
.
Through experiments, it can be restored by resetting the SDP path
when unplugging it.
Signed-off-by: Liankun Yang
Reviewed-by: AngeloGioacchino Del Regno
---
Changes in V3:
- No change.
Per suggestion from the previous thread:
https://patchwork.kernel.org/project/linux-mediatek/patch
.
Through experiments, it can be restored by resetting the SDP path
when unplugging it.
Signed-off-by: Liankun Yang
---
Changes in V2:
- Fix build error.
Per suggestion from the previous thread:
https://patchwork.kernel.org/project/linux-mediatek/patch/20240923133610.23728-1-liankun.y...@mediatek.com
.
Through experiments, it can be restored by resetting the SDP path
when unplugging it.
Signed-off-by: Liankun Yang
---
drivers/gpu/drm/mediatek/mtk_dp.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c
b/drivers/gpu/drm/mediatek/mtk_dp.c
index
cchino Del Regno
Signed-off-by: Liankun Yang
---
Changes in V5:
- No change.
Per suggestion from the previous thread:
https://patchwork.kernel.org/project/linux-mediatek/patch/20240905124041.3658-1-liankun.y...@mediatek.com/
Changes in V4:
- Remove excess newlines.
Per suggestion from the previ
Update efuse data for MT8188 displayport.
The DP monitor can not display when DUT connected to USB-c to DP dongle.
Analysis view is invalid DP efuse data.
Fixes: 350c3fe907fb ("drm/mediatek: dp: Add support MT8188 dp/edp function")
Reviewed-by: Matthias Brugger
Signed-off-by: Li
Update efuse data for MT8188 displayport.
The DP monitor can not display when DUT connected to USB-c to DP dongle.
Analysis view is invalid DP efuse data.
Fixes: 350c3fe907fb ("drm/mediatek: dp: Add support MT8188 dp/edp function")
Signed-off-by: Liankun Yang
---
Changes in V3:
- Add
mmit title.
- Update the commit description.
Per suggestion from the previous thread:
https://patchwork.kernel.org/project/linux-mediatek/patch/
20240510061716.31103-1-liankun.y...@mediatek.com/
Signed-off-by: Liankun Yang
---
drivers/gpu/drm/mediatek/mtk_dp.c | 85 ++-
1 fi
Update write DP phyd register and add phy-dp bindings.
Liankun Yang (2):
Add write DP phyd register from parse dts
Add dp PHY dt-bindings
.../display/mediatek/mediatek.phy-dp.yaml | 45 +++
drivers/phy/mediatek/phy-mtk-dp.c | 37 +++
2 files
-off-by: Liankun Yang
---
drivers/phy/mediatek/phy-mtk-dp.c | 37 +++
1 file changed, 37 insertions(+)
diff --git a/drivers/phy/mediatek/phy-mtk-dp.c
b/drivers/phy/mediatek/phy-mtk-dp.c
index d7024a144335..ce78112d5938 100644
--- a/drivers/phy/mediatek/phy-mtk-dp.c
Add dp PHY dt-bindings.
Changeds in v2:
- Add dp PHY dt-bindings.
https://patchwork.kernel.org/project/linux-mediatek/patch/
20240403040517.3279-1-liankun.y...@mediatek.com/
Signed-off-by: Liankun Yang
---
.../display/mediatek/mediatek.phy-dp.yaml | 45 +++
1 file changed
Adjust the training sequence.Detects the actual link condition
and calculates the bandwidth where the relevant resolution resides.
The bandwidth is recalculated and modes that exceed the bandwidth are
filtered.
Example Modify bandwidth filtering requirements.
Signed-off-by: Liankun Yang
Fix get efuse issue for MT8188 DPTX.
Signed-off-by: Liankun Yang
---
drivers/gpu/drm/mediatek/mtk_dp.c | 85 ++-
1 file changed, 84 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c
b/drivers/gpu/drm/mediatek/mtk_dp.c
index 2136a596efa1
SSC can solve the screen flickering problem.
[Test]
The SSC configuration values are read from DTS, parsed in the driver,
and then written to the hardware. The test results indicate that
there is no screen flickering.
Signed-off-by: Liankun Yang
---
drivers/phy/mediatek/phy-mtk-dp.c | 61
. Subsequently, DP work can proceed based on
the actual maximum bandwidth.
It should training in the hpd event thread.
Check the mode with lane count and link rate of training.
Signed-off-by: Liankun Yang
---
drivers/gpu/drm/mediatek/mtk_dp.c | 57 +++
1 file changed
25 matches
Mail list logo