commit | b037d58f976204544f4266840f3538d2ed7e01d9 | [log] [tgz] |
---|---|---|
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Mon Jun 12 12:21:13 2017 +0200 |
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Mon Jun 12 16:05:45 2017 +0200 |
tree | ef8109c66430080bb63fa816a3182c9b1e0b5d2c | |
parent | 0c8792d00d38de85b6ceb1dd67d3ee009d7c8e42 [diff] |
drm/i915: Pass crtc_state and connector state to backlight enable/disable functions The backlight functions need to determine the pipe and the transcoder the backlight will be enabled on, so pass crtc_state instead of trying to dereference the state without holding locks. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100022 Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170612102115.23665-2-maarten.lankhorst@linux.intel.com Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>