2017-09-11 00:54:05 +00:00
|
|
|
From 5b406d74d5217e3f29b802c57010ef506b09878b Mon Sep 17 00:00:00 2001
|
2017-02-27 02:37:43 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
Date: Sun, 26 Feb 2017 19:14:10 -0700
|
2017-04-07 00:53:47 +00:00
|
|
|
Subject: [PATCH 3/4] temporary hack to fix console output
|
2017-02-27 02:37:43 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 14 --------------
|
|
|
|
1 file changed, 14 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
|
2017-09-11 00:54:05 +00:00
|
|
|
index 8d52abeb3f0b..19d0f9d8b4d0 100644
|
2017-02-27 02:37:43 +00:00
|
|
|
--- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
|
|
|
|
+++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
|
2017-09-11 00:54:05 +00:00
|
|
|
@@ -87,20 +87,6 @@ static int analogix_dp_psr_set(struct drm_encoder *encoder, bool enabled)
|
2017-02-27 02:37:43 +00:00
|
|
|
dev_err(dp->dev, "line flag interrupt did not arrive\n");
|
|
|
|
return -ETIMEDOUT;
|
|
|
|
}
|
|
|
|
-
|
|
|
|
- ret = analogix_dp_enable_psr(dp->adp);
|
|
|
|
- if (ret) {
|
|
|
|
- dev_err(dp->dev, "failed to enable psr %d\n", ret);
|
|
|
|
- return ret;
|
|
|
|
- }
|
|
|
|
- rockchip_drm_set_win_enabled(crtc, false);
|
|
|
|
- } else {
|
|
|
|
- rockchip_drm_set_win_enabled(crtc, true);
|
|
|
|
- ret = analogix_dp_disable_psr(dp->adp);
|
|
|
|
- if (ret) {
|
|
|
|
- dev_err(dp->dev, "failed to disable psr %d\n", ret);
|
|
|
|
- return ret;
|
|
|
|
- }
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
--
|
2017-09-11 00:54:05 +00:00
|
|
|
2.14.1
|
2017-02-27 02:37:43 +00:00
|
|
|
|