add PSR patch

parent a9ee553a
Pipeline #283 failed with stage
diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
index 76736fb8ed94..9735ab71fca7 100644
--- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
+++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
@@ -35,6 +35,10 @@
static const bool verify_fast_training;
+static bool enable_psr = true;
+module_param(enable_psr, bool, 0644);
+MODULE_PARM_DESC(enable_psr, "PSR support (1 = enabled (default), 0 = disabled)");
+
struct bridge_init {
struct i2c_client *client;
struct device_node *node;
@@ -979,7 +983,7 @@ static int analogix_dp_commit(struct analogix_dp_device *dp)
if (ret)
return ret;
- if (analogix_dp_detect_sink_psr(dp)) {
+ if (enable_psr && analogix_dp_detect_sink_psr(dp)) {
ret = analogix_dp_enable_sink_psr(dp);
if (ret)
return ret;
......@@ -8,7 +8,7 @@ _srcname=linux-pinebook-pro
_kernelname=${pkgbase#linux}
_desc="AArch64 Pinebook Pro kernel"
pkgver=5.7.0
pkgrel=2
pkgrel=3
arch=('aarch64')
url="https://gitlab.manjaro.org/tsys/${_pkgname}"
license=('GPL2')
......@@ -19,6 +19,7 @@ _commit=a8f4db8a726e5e4552e61333dcd9ea1ff35f39f9 #using master branch
source=("https://gitlab.manjaro.org/tsys/linux-pinebook-pro/-/archive/${_commit}/${_pkgname}-${_commit}.tar.gz"
'0001-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch'
'0002-raid6-add-Kconfig-option-to-skip-raid6-benchmarking.patch'
'0003-drm-bridge-analogix_dp-Add-enable_psr-param.patch'
'0008-board-rockpi4-dts-upper-port-host.patch'
'0008-rk-hwacc-drm.patch'
'config'
......@@ -40,6 +41,7 @@ source=("https://gitlab.manjaro.org/tsys/linux-pinebook-pro/-/archive/${_commit}
md5sums=('0cc2d1494344a0339d9a23f4001103e8'
'6ee347975dca719ecd63a846cc5983b2'
'55f6a3d6b10794c9583334931f842637'
'9f27b2a05eaeb1995fc0fcf6a8b923c4'
'f7769084356056b5eec725938e49a6a5'
'502ef9044b647a43ab19300a511923fc'
'a79000819809f283811ac280bc75d549'
......@@ -69,8 +71,9 @@ prepare() {
patch -Np1 -i "${srcdir}/0001-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch"
# Manjaro ARM Patches
patch -Np1 -i "${srcdir}/0008-board-rockpi4-dts-upper-port-host.patch"
patch -Np1 -i "${srcdir}/0002-raid6-add-Kconfig-option-to-skip-raid6-benchmarking.patch"
patch -Np1 -i "${srcdir}/0003-drm-bridge-analogix_dp-Add-enable_psr-param.patch"
patch -Np1 -i "${srcdir}/0008-board-rockpi4-dts-upper-port-host.patch"
patch -Np1 -i "${srcdir}/0008-rk-hwacc-drm.patch"
# Bootsplash patches
patch -Np1 -i "${srcdir}/0001-bootsplash.patch"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment