mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From cbd83eb73501d01355111819ab1b97136c5df915 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 25 Jan 2024 16:18:14 +0000
|
|
Subject: [PATCH 0856/1085] drm/vc4: Do not reset tv mode as this is already
|
|
handled by framework
|
|
|
|
In vc4_vec_connector_reset, the tv mode is already reset to the
|
|
property default by drm_atomic_helper_connector_tv_reset, so there
|
|
is no need for a local fixup to potentially some other default.
|
|
|
|
Fixes: 96922af14473 ("drm/vc4: Allow setting the TV norm via module parameter")
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_vec.c | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_vec.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_vec.c
|
|
@@ -404,10 +404,6 @@ static void vc4_vec_connector_reset(stru
|
|
{
|
|
drm_atomic_helper_connector_reset(connector);
|
|
drm_atomic_helper_connector_tv_reset(connector);
|
|
-
|
|
- /* preserve TV standard */
|
|
- if (connector->state)
|
|
- connector->state->tv.mode = vc4_vec_get_default_mode(connector);
|
|
}
|
|
|
|
static int
|