]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Calculate min_ddb_alloc for trans_wm
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Mar 2021 15:36:08 +0000 (17:36 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 12 Mar 2021 16:18:55 +0000 (18:18 +0200)
commit18ffd6de8c50fdbb925e421f70ea0d1a60f81528
tree534869fddb4b7d93b0dd9611e8c382ac8c9a3fdb
parentf0dfaa982b7936dfd751502bf89fbd8c07e02943
drm/i915: Calculate min_ddb_alloc for trans_wm

Let's make all the "do we have enough DDB for this WM level?"
checks use min_ddb_alloc. To achieve that we need to populate
this for the transition watermarks as well.

Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210305153610.12177-5-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/intel_pm.c