]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/i915/i915_drv.h
drm/i915: make backlight info per-connector
[~andy/linux] / drivers / gpu / drm / i915 / i915_drv.h
index 8600c315b4c4ae6313f2569d07c33eaf6c3b2cdd..a2009bff2f36cef2b06a4abc6c03882e835926df 100644 (file)
@@ -1368,13 +1368,8 @@ typedef struct drm_i915_private {
        struct intel_overlay *overlay;
        unsigned int sprite_scaling_enabled;
 
-       /* backlight */
-       struct {
-               int level;
-               bool enabled;
-               spinlock_t lock; /* bl registers and the above bl fields */
-               struct backlight_device *device;
-       } backlight;
+       /* backlight registers and fields in struct intel_panel */
+       spinlock_t backlight_lock;
 
        /* LVDS info */
        bool no_aux_handshake;