Skip to content

Commit

Permalink
Rule out tiling-4 for scan-out buffers
Browse files Browse the repository at this point in the history
Tiling-4 is not supported by RPL/MBL iGPU and it's possible that
frameout buffers are rendered by dGPU while displayed by iGPU.  As a
workaround, disable tiling-4 for scan-out buffers to support this use
case for now.  A better solution would be to add a way of tiling
negotiation between display GPU in host and virtio-GPU.

Tracked-On: OAM-123137
Signed-off-by: Weifeng Liu <[email protected]>
  • Loading branch information
phreer committed Aug 7, 2024
1 parent a8b8ded commit c8d6dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i915.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,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,
scanout_and_render_not_linear);
render_not_linear);
drv_add_combinations(drv, source_formats, ARRAY_SIZE(source_formats), &metadata_4_tiled,
texture_flags | BO_USE_NON_GPU_HW);

Expand Down

0 comments on commit c8d6dd4

Please sign in to comment.