mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +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
@@ -218,17 +218,17 @@ test_plane(data_t *data, igt_output_t *output, enum pipe pipe, enum igt_plane pl
|
||||
mode = igt_output_get_mode(output);
|
||||
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_NONE,
|
||||
LOCAL_DRM_FORMAT_MOD_NONE,
|
||||
1.0, 0.0, 0.0,
|
||||
&red_fb);
|
||||
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_NONE,
|
||||
LOCAL_DRM_FORMAT_MOD_NONE,
|
||||
0.0, 1.0, 0.0,
|
||||
&green_fb);
|
||||
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_NONE,
|
||||
LOCAL_DRM_FORMAT_MOD_NONE,
|
||||
0.0, 0.0, 1.0,
|
||||
&blue_fb);
|
||||
|
||||
@@ -368,17 +368,17 @@ test_crtc(data_t *data, igt_output_t *output, enum pipe pipe)
|
||||
mode = igt_output_get_mode(output);
|
||||
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay+1,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_NONE,
|
||||
LOCAL_DRM_FORMAT_MOD_NONE,
|
||||
1.0, 0.0, 0.0,
|
||||
&red_fb);
|
||||
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay+1,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_NONE,
|
||||
LOCAL_DRM_FORMAT_MOD_NONE,
|
||||
0.0, 0.0, 1.0,
|
||||
&blue_fb);
|
||||
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay+1,
|
||||
DRM_FORMAT_XRGB8888,
|
||||
I915_TILING_NONE,
|
||||
LOCAL_DRM_FORMAT_MOD_NONE,
|
||||
0.0, 1.0, 0.0,
|
||||
&green_fb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user