Quoting Deepak Rawat (2018-09-28 01:43:47) > gem_set_domain() is gem specific and not needed for dumb buffers. > > Signed-off-by: Deepak Rawat <drawat@xxxxxxxxxx> > --- > lib/igt_fb.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/lib/igt_fb.c b/lib/igt_fb.c > index 0485708b..74a4b501 100644 > --- a/lib/igt_fb.c > +++ b/lib/igt_fb.c > @@ -1356,15 +1356,15 @@ static void create_cairo_surface__gtt(int fd, struct igt_fb *fb) > { > void *ptr; > > - gem_set_domain(fd, fb->gem_handle, > - I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT); > - > if (fb->is_dumb) Kernel CODING_STYLE: if one branch need braces, apply them to all. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx