testing/linux-postmarketos-qcom-sdm670: upgrade to 6.6.3 (MR 4587)

Also disable some drivers and subsystems in the kernel configuration
that are generally unused on the platform, according to the
corresponding patch in the kernel repository.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Richard Acayan 2023-11-29 22:17:44 -05:00 committed by Pablo Correa Gómez
parent b977cf3128
commit 9ad01f6c9a
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
3 changed files with 306 additions and 1087 deletions

View file

@ -1,40 +0,0 @@
From cbd20f0cd9f5d60f6a05b224b993484d33a878fd Mon Sep 17 00:00:00 2001
From: Richard Acayan <mailingradian@gmail.com>
Date: Sat, 23 Sep 2023 21:04:23 -0400
Subject: [PATCH] drm/panel: samsung-sofef00-bonito: add enable function as
callback
As reported by https://gitlab.com/77z.us, the panel does not turn on
without adding the enable function as a callback. Add it to fix the
supported panel on the Pixel 3a XL.
Amends: drm/panel: samsung-sofef00-bonito: move dsi commands to enable function
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
---
drivers/gpu/drm/panel/panel-samsung-sofef00-bonito.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-samsung-sofef00-bonito.c b/drivers/gpu/drm/panel/panel-samsung-sofef00-bonito.c
index fdd7b20b1c78..a8bfded80d9c 100644
--- a/drivers/gpu/drm/panel/panel-samsung-sofef00-bonito.c
+++ b/drivers/gpu/drm/panel/panel-samsung-sofef00-bonito.c
@@ -51,7 +51,7 @@ static int sofef00_prepare(struct drm_panel *panel)
return 0;
}
-static int sofef00_on(struct drm_panel *panel)
+static int sofef00_enable(struct drm_panel *panel)
{
struct sofef00 *ctx = to_sofef00(panel);
struct mipi_dsi_device *dsi = ctx->dsi;
@@ -161,6 +161,7 @@ static int sofef00_get_modes(struct drm_panel *panel,
static const struct drm_panel_funcs sofef00_panel_funcs = {
.prepare = sofef00_prepare,
+ .enable = sofef00_enable,
.disable = sofef00_disable,
.unprepare = sofef00_unprepare,
.get_modes = sofef00_get_modes,
--
2.42.0

View file

@ -4,7 +4,7 @@
_flavor="postmarketos-qcom-sdm670"
pkgname=linux-$_flavor
pkgver=6.5.4
pkgver=6.6.3
pkgrel=0
pkgdesc="Mainline Kernel fork for SDM670 devices"
arch="aarch64"
@ -22,7 +22,6 @@ _tag="sdm670-v$pkgver"
source="
https://gitlab.com/sdm670-mainline/linux/-/archive/$_tag/linux-$_tag.tar.gz
$_config
0001-drm-panel-samsung-sofef00-bonito-add-enable-function.patch
"
builddir="$srcdir/linux-$_tag"
@ -56,7 +55,6 @@ package() {
}
sha512sums="
8bf50096ba05b963fe89f14efe9dc5f3e371bcc4b3a98e17e84e00fcddcc912e7f1f9247472b23c170b3d5a26041d9969f611d370450534849eafe2357d3c02a linux-sdm670-v6.5.4.tar.gz
e7553a637249cb2015a9db027817d60622bdfc98e46b13d49a8bee547d7cf2525442e529cf8d6f588735645497aa1d2ae80d88a6c6cd49c4d39fbc5abcb9227d config-postmarketos-qcom-sdm670.aarch64
170ccb5ba925e635d88d5a033620bd1c68fdb18b3781e42cd4d5304279d61952f2dbc88212a601507890d227c09b5b6293ae0089fa66b8652047cfedd709d27f 0001-drm-panel-samsung-sofef00-bonito-add-enable-function.patch
5c07a3e7715db89f1fa9ccc4cd7f0d523526d94d1f736ff10667adbf2ac819bd90d117f5dfef0aa516e7df1eddccdb29416814d38726691b66d62ddde649b492 linux-sdm670-v6.6.3.tar.gz
e8d442148d6547447152160eaeff9c3ab1deea22c9dc2475868e29e0333043d1c3bff22710cb04e6481f270c35e323bb291cf1bf4c04d578babfc3501a130274 config-postmarketos-qcom-sdm670.aarch64
"