drm/radeon: hook up backlight functions for CI and KV family.
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Nov 22 17:59:10 EST 2013
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7272c9d2286525d4c6bce788243cf2b6f306d15c
Commit: 7272c9d2286525d4c6bce788243cf2b6f306d15c
Parent: 32f79a8a82b2ff6f1828b258da214869adc2a28c
Author: Samuel Li <samuel.li at amd.com>
AuthorDate: Tue Nov 19 15:04:45 2013 -0500
Committer: Alex Deucher <alexander.deucher at amd.com>
CommitDate: Tue Nov 19 15:57:29 2013 -0500
drm/radeon: hook up backlight functions for CI and KV family.
Fixes crashes when handling atif events due to the lack of a
callback being registered.
Signed-off-by: Samuel Li <samuel.li at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Cc: stable at vger.kernel.org
---
drivers/gpu/drm/radeon/radeon_asic.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c
index 50853c0..e354ce9 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.c
+++ b/drivers/gpu/drm/radeon/radeon_asic.c
@@ -2015,6 +2015,8 @@ static struct radeon_asic ci_asic = {
.bandwidth_update = &dce8_bandwidth_update,
.get_vblank_counter = &evergreen_get_vblank_counter,
.wait_for_vblank = &dce4_wait_for_vblank,
+ .set_backlight_level = &atombios_set_backlight_level,
+ .get_backlight_level = &atombios_get_backlight_level,
.hdmi_enable = &evergreen_hdmi_enable,
.hdmi_setmode = &evergreen_hdmi_setmode,
},
@@ -2114,6 +2116,8 @@ static struct radeon_asic kv_asic = {
.bandwidth_update = &dce8_bandwidth_update,
.get_vblank_counter = &evergreen_get_vblank_counter,
.wait_for_vblank = &dce4_wait_for_vblank,
+ .set_backlight_level = &atombios_set_backlight_level,
+ .get_backlight_level = &atombios_get_backlight_level,
.hdmi_enable = &evergreen_hdmi_enable,
.hdmi_setmode = &evergreen_hdmi_setmode,
},
More information about the linux-mtd-cvs
mailing list