[Mesa-dev] [PATCH 2/2] anv/i965: drop libdrm_intel dependency completely

Lionel Landwerlin lionel.g.landwerlin at intel.com
Thu Jun 15 11:49:01 UTC 2017


On 15/06/17 09:45, Emil Velikov wrote:
> Hi Lionel,
>
> Final reminder - doing this will throw a wrench into non-Linux
> platforms which want to use Mesa.
>
> On those the kernel vs libdrm copy of the headers have diverged and
> while I'm nudging with the guys to get that sorted, the extra copy is
> a recipe for disaster.
>
> On 15 June 2017 at 01:22, Lionel Landwerlin
> <lionel.g.landwerlin at intel.com> wrote:
>> With Ken's work to drop the library dependency on libdrm_intel, we now
>> only depend on libdrm for the kernel uapi headers it provides. It
>> seems like we're better off just embeddeding those headers ourselves,
>> making the lives of people developping news features tightly
>> integrated with the kernel a tiny bit easier.
>>
>> This change also makes it a bit more obvious what cflags/libs are
>> required by the i915 drivers vs i965, by renaming INTEL_CFLAGS/LIBS
>> into I915_CFLAGS/LIBS.
>>
> This should be a separate commit.

Sure.

>
>> Headers were generated from drm-tip on the following commit :
>>
>>     commit cafd1e4df1e6e039268c4e4b1a55c88915d21f2e
>>     Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
>>     Date:   Wed Jun 14 12:56:57 2017 -0700
>>
>>         drm-tip: 2017y-06m-14d-19h-56m-24s UTC integration manifest
>>
>> v2: Use installed files from the kernel (Daniel Vetter)
>>
>> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
>> ---
>>   configure.ac                                |    6 +-
>>   src/gallium/drivers/i915/Automake.inc       |    2 +-
>>   src/gallium/targets/pipe-loader/Makefile.am |    2 +-
>>   src/gallium/winsys/i915/drm/Makefile.am     |    2 +-
>>   src/intel/Makefile.drm.am                   |   22 +
>>   src/intel/Makefile.sources                  |    6 +
>>   src/intel/Makefile.tools.am                 |    3 +-
>>   src/intel/Makefile.vulkan.am                |    4 +-
>>   src/intel/drm/drm.h                         |  925 +++++++++++++++++
>>   src/intel/drm/drm_fourcc.h                  |  358 +++++++
>>   src/intel/drm/drm_mode.h                    |  739 ++++++++++++++
>>   src/intel/drm/i915_drm.h                    | 1459 +++++++++++++++++++++++++++
> You seriously want a README in the folder which described the dos
> and/or don'ts of handling the files.

Will do, thanks!

>
> Thanks
> Emil
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev




More information about the mesa-dev mailing list