On 2018-03-03 12:27 AM, Samuel Li wrote: > --- > include/drm/amdgpu_drm.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h > index d9aa4a3..dc4d8bd 100644 > --- a/include/drm/amdgpu_drm.h > +++ b/include/drm/amdgpu_drm.h > @@ -526,6 +526,7 @@ struct drm_amdgpu_cs_chunk_data { > */ > #define AMDGPU_IDS_FLAGS_FUSION 0x1 > #define AMDGPU_IDS_FLAGS_PREEMPTION 0x2 > +#define AMDGPU_IDS_FLAGS_SGDISPLAY 0x4 > > /* indicate if acceleration can be working */ > #define AMDGPU_INFO_ACCEL_WORKING 0x00 > See include/drm/README on how to synchronize these headers with the kernel. P.S. Please put this into .git/config in your libdrm tree: [format] subjectprefix = "PATCH libdrm" -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer