]> git.baikalelectronics.ru Git - kernel.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)
commitf57e557b626ef3c1aa20570058b798a99b62d779
tree5386cc6d164823898d06708ef7d2c8f6a872bd43
parent400d71c28a91ac9f7784bbca6b6931c9e423c696
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