mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +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>
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From c86a9763861a14dd1d9cc21338136b50b6797321 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Tue, 9 Jan 2024 18:44:49 +0000
|
|
Subject: [PATCH 1061/1085] drm/bridge: tc358762: revert move ops to enable
|
|
|
|
Reverts 8a4b2fc9c91a ("drm/bridge: tc358762: Split register programming from pre-enable to enable")
|
|
as we want the config commands sent before video starts.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/bridge/tc358762.c | 9 ---------
|
|
1 file changed, 9 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/bridge/tc358762.c
|
|
+++ b/drivers/gpu/drm/bridge/tc358762.c
|
|
@@ -200,14 +200,6 @@ static void tc358762_pre_enable(struct d
|
|
usleep_range(5000, 10000);
|
|
}
|
|
|
|
- ctx->pre_enabled = true;
|
|
-}
|
|
-
|
|
-static void tc358762_enable(struct drm_bridge *bridge, struct drm_bridge_state *state)
|
|
-{
|
|
- struct tc358762 *ctx = bridge_to_tc358762(bridge);
|
|
- int ret;
|
|
-
|
|
ret = tc358762_init(ctx);
|
|
if (ret < 0)
|
|
dev_err(ctx->dev, "error initializing bridge (%d)\n", ret);
|
|
@@ -234,7 +226,6 @@ static void tc358762_bridge_mode_set(str
|
|
static const struct drm_bridge_funcs tc358762_bridge_funcs = {
|
|
.atomic_post_disable = tc358762_post_disable,
|
|
.atomic_pre_enable = tc358762_pre_enable,
|
|
- .atomic_enable = tc358762_enable,
|
|
.atomic_duplicate_state = drm_atomic_helper_bridge_duplicate_state,
|
|
.atomic_destroy_state = drm_atomic_helper_bridge_destroy_state,
|
|
.atomic_reset = drm_atomic_helper_bridge_reset,
|