[Intel-gfx] [igt-dev] [PATCH i-g-t] lib: Rework __kms_addfb() function
Chris Wilson
chris at chris-wilson.co.uk
Wed Apr 10 11:34:07 UTC 2019
Quoting Arkadiusz Hiler (2019-04-10 12:28:08)
> On Wed, Apr 03, 2019 at 07:24:39PM -0300, Rodrigo Siqueira wrote:
> > The function __kms_addfb() and drmModeAddFB2WithModifiers() have a
> > similar code. Due to this similarity, this commit replace part of the
> > code inside __kms_addfb() by using drmModeAddFB2WithModifiers().
>
> igt master % grep '^libdrm_version' meson.build
> libdrm_version = '>=2.4.82'
Why introduce a dependency? The primary purpose of igt is breaking
ioctls, and that typically requires avoiding any protective libraries.
In particular, we want to be very, very clear about what igt is doing
(in terms of kernel api/abi) and not obfuscate.
-Chris
More information about the Intel-gfx
mailing list