Skip to contentSkip to conversation

Patch "drm/radeon: move bl encoder assignment into bl init" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Nov 6, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

drm/radeon: move bl encoder assignment into bl init

to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
drm-radeon-move-bl-encoder-assignment-into-bl-init.patch
and it can be found in the queue-4.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 4cee6a9057d5e13911f0cb6e143d11dc1a3245dd Mon Sep 17 00:00:00 2001

From: Alex Deucher <[email protected]>
Date: Wed, 28 Oct 2015 14:26:32 -0400
Subject: drm/radeon: move bl encoder assignment into bl init
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Alex Deucher <[email protected]>

commit 4cee6a9057d5e13911f0cb6e143d11dc1a3245dd upstream.

So that the bl encoder will be null if the GPU does not control the backlight.

---
 drivers/gpu/drm/radeon/atombios_encoders.c      |    1 +
 drivers/gpu/drm/radeon/radeon_encoders.c        |    1 -
 drivers/gpu/drm/radeon/radeon_legacy_encoders.c |    1 +
 3 files changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/radeon/atombios_encoders.c +1 -0
@@ -237,6 +237,7 @@ void radeon_atom_backlight_init(struct r
 	backlight_update_status(bd);
 
 	DRM_INFO("radeon atom DIG backlight initialized\n");
+	rdev->mode_info.bl_encoder = radeon_encoder;
 
 	return;
 
drivers/gpu/drm/radeon/radeon_encoders.c +0 -1
@@ -194,7 +194,6 @@ static void radeon_encoder_add_backlight
 			radeon_atom_backlight_init(radeon_encoder, connector);
 		else
 			radeon_legacy_backlight_init(radeon_encoder, connector);
-		rdev->mode_info.bl_encoder = radeon_encoder;
 	}
 }
 
drivers/gpu/drm/radeon/radeon_legacy_encoders.c +1 -0
@@ -441,6 +441,7 @@ void radeon_legacy_backlight_init(struct
 	backlight_update_status(bd);
 
 	DRM_INFO("radeon legacy LVDS backlight initialized\n");
+	rdev->mode_info.bl_encoder = radeon_encoder;
 
 	return;
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.1/drm-radeon-move-bl-encoder-assignment-into-bl-init.patch queue-4.1/drm-radeon-fix-dpms-when-driver-backlight-control-is-disabled.patch queue-4.1/drm-radeon-don-t-try-to-recreate-sysfs-entries-on-resume.patch queue-4.1/drm-radeon-dpm-don-t-add-pwm-attributes-if-dpm-is-disabled.patch