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)
commit37fbbd49054b624400a65cf1a39f152a7f3f4749
tree966e718baffb4b50b1710ec53a8df85379846018
parent171d156257eeb2ae4171adae3807700da724451d
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