mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
tiling: Convert framebuffer helpers to use fb modifiers
This converts the IGT API only, underneath legacy set_tiling is still used. v2: One got away in kms_flip. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
committed by
Damien Lespiau
parent
672e88acb7
commit
e36091d1c7
+2
-2
@@ -324,12 +324,12 @@ static bool prepare_test(data_t *data, enum test_mode test_mode)
|
||||
|
||||
data->fb_id[0] = igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_X,
|
||||
LOCAL_I915_FORMAT_MOD_X_TILED,
|
||||
0.0, 0.0, 0.0, &data->fb[0]);
|
||||
igt_assert(data->fb_id[0]);
|
||||
data->fb_id[1] = igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_X,
|
||||
LOCAL_I915_FORMAT_MOD_X_TILED,
|
||||
0.1, 0.1, 0.1,
|
||||
&data->fb[1]);
|
||||
igt_assert(data->fb_id[1]);
|
||||
|
||||
Reference in New Issue
Block a user