]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Nuke 'realloc_pipes'
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Oct 2019 20:09:43 +0000 (23:09 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 Oct 2019 14:04:35 +0000 (17:04 +0300)
commit49e0ed3848d0e3ef22c3a458ded8847cbf08330e
tree5386cc6d164823898d06708ef7d2c8f6a872bd43
parentd7a145849b680075ce94d8b341905104e2ee58d0
drm/i915: Nuke 'realloc_pipes'

The 'realloc_pipes' bitmask is pointless. It is either:
a) the set of pipes which are already part of the state,
   in which case adding them again is entirely redundant
b) the set of all pipes which we then add to the state

Also the fact that 'realloc_pipes' uses the crtc indexes is
going to bite is at some point so best get rid of it quick.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191011200949.7839-3-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/intel_pm.c