public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: xlnx: dp: Reset DisplayPort IP
@ 2024-02-16 12:40 Rohit Visavalia
  2024-02-16 16:55 ` Sagar, Vishal
  2024-02-28 16:22 ` Laurent Pinchart
  0 siblings, 2 replies; 5+ messages in thread
From: Rohit Visavalia @ 2024-02-16 12:40 UTC (permalink / raw)
  To: gregkh, laurent.pinchart, maarten.lankhorst, mripard, tzimmermann,
	airlied, daniel, michal.simek, dri-devel, linux-arm-kernel
  Cc: linux-kernel

Assert DisplayPort reset signal before deasserting,
it is to clear out any registers programmed before booting kernel.

Signed-off-by: Rohit Visavalia <rohit.visavalia@amd.com>
---
 drivers/gpu/drm/xlnx/zynqmp_dp.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c
index 1846c4971fd8..5a40aa1d4283 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_dp.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c
@@ -1714,6 +1714,10 @@ int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub)
 		goto err_free;
 	}
 
+	ret = zynqmp_dp_reset(dp, true);
+	if (ret < 0)
+		return ret;
+
 	ret = zynqmp_dp_reset(dp, false);
 	if (ret < 0)
 		goto err_free;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-29  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16 12:40 [PATCH] drm: xlnx: dp: Reset DisplayPort IP Rohit Visavalia
2024-02-16 16:55 ` Sagar, Vishal
2024-02-28 16:22 ` Laurent Pinchart
2024-02-29  9:05   ` Laurent Pinchart
2024-02-29  9:48     ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox