diff options
author | Ville Syrjälä | 2021-03-27 02:59:45 +0200 |
---|---|---|
committer | Rodrigo Vivi | 2021-04-12 08:00:28 -0400 |
commit | bf52dc49ba0101f648b4c3ea26b812061406b0d4 (patch) | |
tree | d6bed66ae3c178e3b7c23e1e16b4818edabd889b /samples | |
parent | 11664169981a025b7f6072d136ac724294b7b65c (diff) |
drm/i915: Don't zero out the Y plane's watermarks
Don't zero out the watermarks for the Y plane since we've already
computed them when computing the UV plane's watermarks (since the
UV plane always appears before ethe Y plane when iterating through
the planes).
This leads to allocating no DDB for the Y plane since .min_ddb_alloc
also gets zeroed. And that of course leads to underruns when scanning
out planar formats.
Cc: stable@vger.kernel.org
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Fixes: dbf71381d733 ("drm/i915: Nuke intel_atomic_crtc_state_for_each_plane_state() from skl+ wm code")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210327005945.4929-1-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
(cherry picked from commit f99b805fb9413ff007ca0b6add871737664117dd)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions