i915: prefer tile4 for non-linear scanout buffers
fix a typo in combinations affecting the legacy (no explicit modifiers) allocation path. BUG=b:279974016, b:243459433 TEST=glxgears in Crostini on MTL Change-Id: I97d5a66effd82d8265bb2b977d623ee07bad5af0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/4492277 Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Tested-by: Ryan Neph <ryanneph@google.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Lina Versace <chadversary@chromium.org> Reviewed-by: Matt Turner <msturner@google.com>
This commit is contained in:
parent
cf10ab71d8
commit
4deb5b8a05
1 changed files with 1 additions and 1 deletions
2
i915.c
2
i915.c
|
|
@ -293,7 +293,7 @@ static int i915_add_combinations(struct driver *drv)
|
|||
&metadata_4_tiled, render_not_linear);
|
||||
drv_add_combinations(drv, scanout_render_formats,
|
||||
ARRAY_SIZE(scanout_render_formats), &metadata_4_tiled,
|
||||
render_not_linear);
|
||||
scanout_and_render_not_linear);
|
||||
} else {
|
||||
struct format_metadata metadata_y_tiled = { .tiling = I915_TILING_Y,
|
||||
.priority = 3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue