]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Populate pipe_offsets[] & co. accurately
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Mar 2019 19:29:05 +0000 (21:29 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Mar 2019 20:06:55 +0000 (22:06 +0200)
commit41fa8a8e8bf4ba55d586e290a7e3672cefe567b8
tree966e718baffb4b50b1710ec53a8df85379846018
parent44db7ebe72bd8ff11a0e39a451ce671dd5011003
drm/i915: Populate pipe_offsets[] & co. accurately

At some point people have started to assume that
pipe_offsets[] & co. are only populated for pipes and whatnot
that actually exist. That is in fact not currently true, but
we can easily make it so.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190305192905.7140-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_pci.c