Skip to content
Snippets Groups Projects
Commit 3ca8eab7 authored by Helmut Stult's avatar Helmut Stult
Browse files

[pkg-upd] 5.7.2-1

- delete 0001-renoir-backlight.patch
parent 80f2ec1b
No related branches found
No related tags found
No related merge requests found
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 7fc15b82fe48..97d7cd8d1ee0 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -1334,7 +1334,7 @@ static int dm_late_init(void *handle)
unsigned int linear_lut[16];
int i;
struct dmcu *dmcu = adev->dm.dc->res_pool->dmcu;
- bool ret = false;
+ bool ret;
for (i = 0; i < 16; i++)
linear_lut[i] = 0xFFFF * i / 15;
@@ -1350,12 +1350,9 @@ static int dm_late_init(void *handle)
*/
params.min_abm_backlight = 0x28F;
- /* todo will enable for navi10 */
- if (adev->asic_type <= CHIP_RAVEN) {
- ret = dmcu_load_iram(dmcu, params);
-
- if (!ret)
- return -EINVAL;
+ ret = dmcu_load_iram(dmcu, params);
+ if (!ret) {
+ return -EINVAL;
}
return detect_mst_link_for_all_connectors(adev->ddev);
...@@ -38,7 +38,6 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x ...@@ -38,7 +38,6 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
'0001-nonupstream-navi10-vfio-reset.patch' '0001-nonupstream-navi10-vfio-reset.patch'
'0001-i2c-nuvoton-nc677x-hwmon-driver.patch' '0001-i2c-nuvoton-nc677x-hwmon-driver.patch'
'0001-iomap-iomap_bmap-should-accept-unwritten-maps.patch' '0001-iomap-iomap_bmap-should-accept-unwritten-maps.patch'
'0001-renoir-backlight.patch'
'0001-apparmor-patch-to-provide-compatibility-with-v2-net-rules.patch' '0001-apparmor-patch-to-provide-compatibility-with-v2-net-rules.patch'
'0002-apparmor-af_unix-mediation.patch' '0002-apparmor-af_unix-mediation.patch'
'0003-apparmor-fix-use-after-free-in-sk_peer_label.patch' '0003-apparmor-fix-use-after-free-in-sk_peer_label.patch'
...@@ -189,9 +188,6 @@ prepare() { ...@@ -189,9 +188,6 @@ prepare() {
msg "handling of multiple fans on Lenovo P50" msg "handling of multiple fans on Lenovo P50"
patch -Np1 -i "${srcdir}/0001-iomap-iomap_bmap-should-accept-unwritten-maps.patch" patch -Np1 -i "${srcdir}/0001-iomap-iomap_bmap-should-accept-unwritten-maps.patch"
msg "renoir-backlight patch"
patch -Np1 -i "${srcdir}/0001-renoir-backlight.patch"
# Add bootsplash - http://lkml.iu.edu/hypermail/linux/kernel/1710.3/01542.html # Add bootsplash - http://lkml.iu.edu/hypermail/linux/kernel/1710.3/01542.html
msg "Add bootsplash" msg "Add bootsplash"
msg2 "0001-bootsplash." msg2 "0001-bootsplash."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment