Commit bf52dc4
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: dbf7138 ("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 f99b805)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>1 parent 1166416 commit bf52dc4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5471 | 5471 | | |
5472 | 5472 | | |
5473 | 5473 | | |
5474 | | - | |
5475 | | - | |
5476 | 5474 | | |
5477 | 5475 | | |
5478 | 5476 | | |
5479 | 5477 | | |
| 5478 | + | |
| 5479 | + | |
5480 | 5480 | | |
5481 | 5481 | | |
5482 | 5482 | | |
| |||
0 commit comments