diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-02-14 12:55:29 +0200 |
---|---|---|
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2022-03-08 08:35:04 +0200 |
commit | 117f5bb31c8cdb1e8f0b443f2a0ac761bf54694c (patch) | |
tree | d981bf8add5917eab4898ef5d6a822e0ac4efca3 /drivers/ntb/msi.c | |
parent | 4fe4ed07c815044755075eaad5fe1815436a060f (diff) |
drm/i915: Don't skip ddb allocation if data_rate==0
data_rate==0 no longer means a plane is disabled, it could
also mean we want to use the minimum ddb allocation for it.
Hence we can't bail out early during ddb allocation or
else we'll simply forget to allocate any ddb for such planes.
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Fixes: 6a4d8cc6bbbf ("drm/i915: Don't allocate extra ddb during async flip for DG2")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220214105532.13049-2-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
(cherry picked from commit 6475e106821babc0dc478a9cb3fc3973739c43fb)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/ntb/msi.c')
0 files changed, 0 insertions, 0 deletions