Re: [PATCH] drm/uapi: document kernel capabilities

2021-03-08 Thread Simon Ser
On Monday, March 8th, 2021 at 9:20 AM, Pekka Paalanen wrote: > > > > +/** > > > > + * DRM_CAP_CRTC_IN_VBLANK_EVENT > > > > + * > > > > + * If set to 1, the kernel supports reporting the CRTC ID in > > > > + * &drm_event_vblank.crtc_id. > > > > > > Does this not apply also to the pageflip / atomi

Re: [PATCH] drm/uapi: document kernel capabilities

2021-03-08 Thread Pekka Paalanen
On Sat, 06 Mar 2021 10:56:49 + Simon Ser wrote: > On Friday, March 5th, 2021 at 9:28 AM, Pekka Paalanen > wrote: > > > > +/** > > > + * DRM_CAP_DUMB_PREFERRED_DEPTH > > > + * > > > + * The preferred depth (in bits) for dumb buffers. > > > > this is literally depth, not bits per pixel, ri

Re: [PATCH] drm/uapi: document kernel capabilities

2021-03-06 Thread Simon Ser
On Friday, March 5th, 2021 at 9:28 AM, Pekka Paalanen wrote: > > +/** > > + * DRM_CAP_DUMB_PREFERRED_DEPTH > > + * > > + * The preferred depth (in bits) for dumb buffers. > > this is literally depth, not bits per pixel, right? "Depth" is pretty ambiguous [1]. Maybe we should be more explicit he

Re: [PATCH] drm/uapi: document kernel capabilities

2021-03-05 Thread Pekka Paalanen
On Thu, 4 Mar 2021 23:10:57 +0100 Simon Ser wrote: > Document all of the DRM_CAP_* defines. > > Signed-off-by: Simon Ser > Cc: Daniel Vetter > Cc: Pekka Paalanen > --- > include/uapi/drm/drm.h | 100 +++-- > 1 file changed, 96 insertions(+), 4 deletions(-

[PATCH] drm/uapi: document kernel capabilities

2021-03-04 Thread Simon Ser
Document all of the DRM_CAP_* defines. Signed-off-by: Simon Ser Cc: Daniel Vetter Cc: Pekka Paalanen --- include/uapi/drm/drm.h | 100 +++-- 1 file changed, 96 insertions(+), 4 deletions(-) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index