diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2024-10-06 00:05:44 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2024-10-06 00:05:44 +0200 |
commit | 2bc81be55c381d2bfd0543f36c4eafd8517c8972 (patch) | |
tree | 00ce8bc78e8e5bbdc8e56cacfbec333b86a1b692 /SOURCES/steamdeck-oled-hw-quirks.patch | |
parent | bfc36f8fbe1fe4b58215e39b503569ef48ffec79 (diff) | |
download | kernel-fsync-2bc81be55c381d2bfd0543f36c4eafd8517c8972.tar.gz kernel-fsync-2bc81be55c381d2bfd0543f36c4eafd8517c8972.zip |
kernel 6.10.136.10
Diffstat (limited to 'SOURCES/steamdeck-oled-hw-quirks.patch')
-rw-r--r-- | SOURCES/steamdeck-oled-hw-quirks.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SOURCES/steamdeck-oled-hw-quirks.patch b/SOURCES/steamdeck-oled-hw-quirks.patch index 585e908..7cc3007 100644 --- a/SOURCES/steamdeck-oled-hw-quirks.patch +++ b/SOURCES/steamdeck-oled-hw-quirks.patch @@ -173,17 +173,17 @@ diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm index e1a77a0d66336..8e61c86819fe2 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -4017,7 +4017,7 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) +@@ -4147,7 +4147,7 @@ return 0; } - + -#define AMDGPU_DM_DEFAULT_MIN_BACKLIGHT 12 +#define AMDGPU_DM_DEFAULT_MIN_BACKLIGHT 0 #define AMDGPU_DM_DEFAULT_MAX_BACKLIGHT 255 + #define AMDGPU_DM_MIN_SPREAD ((AMDGPU_DM_DEFAULT_MAX_BACKLIGHT - AMDGPU_DM_DEFAULT_MIN_BACKLIGHT) / 2) #define AUX_BL_DEFAULT_TRANSITION_TIME_MS 50 - -@@ -4035,11 +4035,27 @@ static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm, - amdgpu_acpi_get_backlight_caps(&caps); +@@ -4181,11 +4181,27 @@ + if (caps.caps_valid) { dm->backlight_caps[bl_idx].caps_valid = true; + |