mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
tests/vgem_fb_test: Use untiling for correctly rendering
This is needed because i915 (new) userspace dma-buf mmap is using CPU mapping TODO: Render buffer actually has to be separate from the scanout one.
This commit is contained in:
parent
768c0a133d
commit
e38c564176
@ -376,8 +376,7 @@ int main(int argc, char **argv)
|
||||
|
||||
for (i = 0; i < BUFFERS; ++i) {
|
||||
ctx.gbm_buffer[i] = gbm_bo_create(ctx.drm_gbm,
|
||||
ctx.mode->hdisplay, ctx.mode->vdisplay, GBM_BO_FORMAT_XRGB8888,
|
||||
GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING);
|
||||
ctx.mode->hdisplay, ctx.mode->vdisplay, GBM_BO_FORMAT_XRGB8888, 0);
|
||||
|
||||
if (!ctx.gbm_buffer[i]) {
|
||||
fprintf(stderr, "failed to create buffer object\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user