]> 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)
commit28d06ec94f8dff6d259e422dd1470f592b5c836a
tree48bd424f5b8710cb3a263a57947ca0d8884733d9
parentab828eea159cf845c76d3b463cb84adb65f7d73e
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