[PATCH] drm: Fix drm.h uapi header for Windows

Michel Dänzer michel at daenzer.net
Thu Dec 3 08:18:52 UTC 2020


On 2020-12-02 8:47 p.m., James Park wrote:
> 
> If we're trying to cut ties with the drm-uapi folder entirely, the stuff 
> ac_surface.c need includes the AMD_FMT_MOD stuff in drm_fourcc.h, 
> and AMDGPU_TILING_* under amdgpu_drm.h. Is there a better spot for these 
> definitions?

The Mesa src/amd/ code should use platform-neutral abstractions for 
these. This wasn't deemed necessary before, because nobody was trying to 
build these drivers for non-UNIX OSes. But now you are.


-- 
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer


More information about the dri-devel mailing list