]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce MBUS relative dbuf offsets
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 19 May 2021 00:06:16 +0000 (17:06 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 May 2021 06:59:22 +0000 (23:59 -0700)
commit835c176cb1c4f4bb9dd25ff9cc914914938df70a
tree48bd424f5b8710cb3a263a57947ca0d8884733d9
parent247bdac958fced2fd0a9bbcfbfcfd6be67a5345a
drm/i915: Introduce MBUS relative dbuf offsets

The dbuf slices are going to be split across several MBUS units.
The actual dbuf programming will use offsets relative to the
MBUS unit. To accommodate that we shall store the MBUS relative
offsets into the dbuf_state->ddb[] and crtc_state->plane_ddb*[].

For crtc_state->wm.skl.ddb however we want to stick to global
offsets as we use this to sanity check that the ddb allocations
don't overlap between pipes.

Cc: Clint Taylor <Clinton.A.Taylor@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Clinton Taylor <Clinton.A.Taylor@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210519000625.3184321-9-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_pm.c