Skip to content

Commit 050e36c

Browse files
committed
Revert "0009-drm-bridge-analogix_dp-Add-enable_psr-param.patch"
This reverts commit 8ac37c8.
1 parent 83f0d01 commit 050e36c

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

drivers/gpu/drm/bridge/analogix/analogix_dp_core.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,7 @@
3636

3737
static const bool verify_fast_training;
3838

39-
static bool enable_psr = true;
40-
module_param(enable_psr, bool, 0644);
41-
MODULE_PARM_DESC(enable_psr, "PSR support (1 = enabled (default), 0 = disabled)");
42-
43-
struct bridge_init {
44-
struct i2c_client *client;
45-
struct device_node *node;
46-
};
47-
48-
static int analogix_dp_init_dp(struct analogix_dp_device *dp)
39+
static void analogix_dp_init_dp(struct analogix_dp_device *dp)
4940
{
5041
analogix_dp_reset(dp);
5142

@@ -885,7 +876,7 @@ static int analogix_dp_commit(struct analogix_dp_device *dp)
885876
if (ret)
886877
return ret;
887878

888-
if (enable_psr && analogix_dp_detect_sink_psr(dp)) {
879+
if (analogix_dp_detect_sink_psr(dp)) {
889880
ret = analogix_dp_enable_sink_psr(dp);
890881
if (ret)
891882
return ret;

0 commit comments

Comments
 (0)