5643dfab040c7c9de07bd453b9064d5c2b331d1d
[openwrt/staging/linusw.git] /
1 From cbd83eb73501d01355111819ab1b97136c5df915 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 25 Jan 2024 16:18:14 +0000
4 Subject: [PATCH 0856/1085] drm/vc4: Do not reset tv mode as this is already
5 handled by framework
6
7 In vc4_vec_connector_reset, the tv mode is already reset to the
8 property default by drm_atomic_helper_connector_tv_reset, so there
9 is no need for a local fixup to potentially some other default.
10
11 Fixes: 96922af14473 ("drm/vc4: Allow setting the TV norm via module parameter")
12 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
13 ---
14 drivers/gpu/drm/vc4/vc4_vec.c | 4 ----
15 1 file changed, 4 deletions(-)
16
17 --- a/drivers/gpu/drm/vc4/vc4_vec.c
18 +++ b/drivers/gpu/drm/vc4/vc4_vec.c
19 @@ -404,10 +404,6 @@ static void vc4_vec_connector_reset(stru
20 {
21 drm_atomic_helper_connector_reset(connector);
22 drm_atomic_helper_connector_tv_reset(connector);
23 -
24 - /* preserve TV standard */
25 - if (connector->state)
26 - connector->state->tv.mode = vc4_vec_get_default_mode(connector);
27 }
28
29 static int