drm/i915: Remove dead members from dev_priv
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 21 Mar 2022 19:50:06 +0000 (21:50 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 4 Apr 2022 13:59:37 +0000 (16:59 +0300)
Remove some zombies from our device structure.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220321195006.775-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h

index d36ad4ded3374cbe5f12b5d8dd9ecfc351a16112..d813240caca75fd097160d378248ed779dab6638 100644 (file)
@@ -632,12 +632,6 @@ struct drm_i915_private {
 
        struct list_head global_obj_list;
 
-       /*
-        * For reading active_pipes holding any crtc lock is
-        * sufficient, for writing must hold all of them.
-        */
-       u8 active_pipes;
-
        struct i915_frontbuffer_tracking fb_tracking;
 
        struct intel_atomic_helper {
@@ -667,8 +661,6 @@ struct drm_i915_private {
 
        struct i915_gpu_error gpu_error;
 
-       struct drm_i915_gem_object *vlv_pctx;
-
        /* list of fbdev register on this device */
        struct intel_fbdev *fbdev;
        struct work_struct fbdev_suspend_work;
@@ -689,7 +681,6 @@ struct drm_i915_private {
        u32 bxt_phy_grc;
 
        u32 suspend_count;
-       bool power_domains_suspended;
        struct i915_suspend_saved_registers regfile;
        struct vlv_s0ix_state *vlv_s0ix_state;