mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 1318b64d6b132e2d8271c4afa1443dd9d29ac657 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Sun, 26 Feb 2017 19:14:10 -0700
|
|
Subject: [PATCH 2/2] temporary hack to fix console output
|
|
|
|
---
|
|
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
|
|
index 784bea8a10fa..51bc27102daa 100644
|
|
--- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
|
|
+++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
|
|
@@ -90,20 +90,6 @@ static int analogix_dp_psr_set(struct drm_encoder *encoder, bool enabled)
|
|
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;
|
|
}
|
|
--
|
|
2.11.1
|
|
|