mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
pm_lpsp: Adjust to the new igt_create.*fb() API
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
210f76c496
commit
9317f39a5e
@ -84,9 +84,8 @@ static uint32_t create_fb(int drm_fd, int width, int height)
|
||||
cairo_t *cr;
|
||||
uint32_t buffer_id;
|
||||
|
||||
buffer_id = igt_create_fb(drm_fd, width, height,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
false, &fb);
|
||||
buffer_id = igt_create_fb(drm_fd, width, height, DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_NONE, &fb);
|
||||
cr = igt_get_cairo_ctx(drm_fd, &fb);
|
||||
igt_paint_test_pattern(cr, width, height);
|
||||
cairo_destroy(cr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user