projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
210f76c
)
pm_lpsp: Adjust to the new igt_create.*fb() API
author
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 23 Jun 2014 14:28:07 +0000
(15:28 +0100)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Thu, 21 Aug 2014 13:54:01 +0000
(14:54 +0100)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/pm_lpsp.c
patch
|
blob
|
history
diff --git
a/tests/pm_lpsp.c
b/tests/pm_lpsp.c
index
250b140
..
78d6d08
100644
(file)
--- a/
tests/pm_lpsp.c
+++ b/
tests/pm_lpsp.c
@@
-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);