[igt-dev] [i-g-t 3/5] tests/intel/kms_dirtyfb: Use blitter as a default draw method
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Nov 15 07:03:42 UTC 2023
As Rendercopy support in IGT is not present for few latest
platforms, use Blitter as default draw method.
Cc: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
Cc: Jouni Högander <jouni.hogander at intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/intel/kms_dirtyfb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/intel/kms_dirtyfb.c b/tests/intel/kms_dirtyfb.c
index b14cc8bec..c072c221d 100644
--- a/tests/intel/kms_dirtyfb.c
+++ b/tests/intel/kms_dirtyfb.c
@@ -177,7 +177,7 @@ static void prepare(data_t *data)
&data->fbs[0]);
igt_draw_rect_fb(data->drm_fd, data->bops, 0, &data->fbs[0],
- IGT_DRAW_RENDER, 0, 0, data->fbs[0].width,
+ IGT_DRAW_BLT, 0, 0, data->fbs[0].width,
data->fbs[0].height, 0xFF);
primary = igt_output_get_plane_type(data->output,
@@ -197,7 +197,7 @@ static void prepare(data_t *data)
DRM_FORMAT_MOD_LINEAR, 0.0, 1.0, 0.0,
&data->fbs[1]);
igt_draw_rect_fb(data->drm_fd, data->bops, 0, &data->fbs[1],
- IGT_DRAW_RENDER, 0, 0, data->fbs[1].width,
+ IGT_DRAW_BLT, 0, 0, data->fbs[1].width,
data->fbs[1].height, 0xFF);
igt_create_color_fb(data->drm_fd, data->mode->hdisplay,
--
2.40.0
More information about the igt-dev
mailing list