Re: [PATCH v2] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard

2021-08-17 Thread James Park
On Fri, Feb 26, 2021 at 12:08 AM James Park wrote: > > On Thu, Feb 4, 2021 at 1:07 PM Emil Velikov wrote: > > > > Do send a patch, unless someone shouts against it, I'll be happy to > > push it and churn the whole copy to drm/mesa game. > > > > Thanks > > Emil > > Hi Emil, > > Were you still

Re: [PATCH v2] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard

2021-02-26 Thread James Park
On Thu, Feb 4, 2021 at 1:07 PM Emil Velikov wrote: > > Do send a patch, unless someone shouts against it, I'll be happy to > push it and churn the whole copy to drm/mesa game. > > Thanks > Emil Hi Emil, Were you still planning on pushing the patch? I sent a v2 on Feb 8. Thanks, James

Re: [PATCH v2] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard

2021-02-04 Thread Simon Ser
On Thursday, February 4th, 2021 at 10:15 PM, James Park wrote: > No, I haven't pushed anything with DRM_BASIC_TYPES_DEFINED yet. I was > just illustrating since DRM_BASIC_TYPES_H would not be a great > choice for a name in this case. This approach looks fine to me too. I'd R-b it. Thanks for

Re: [PATCH v2] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard

2021-02-04 Thread James Park
On Thu, Feb 4, 2021 at 1:07 PM Emil Velikov wrote: > > On Thu, 4 Feb 2021 at 18:17, James Park wrote: > > > > On Thu, Feb 4, 2021 at 9:37 AM James Park > > wrote: > > > > > > On Thu, Feb 4, 2021 at 3:37 AM Emil Velikov > > > wrote: > > > > > > > > Currently, the drm_fourcc.h header depends

Re: [PATCH v2] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard

2021-02-04 Thread Emil Velikov
On Thu, 4 Feb 2021 at 18:17, James Park wrote: > > On Thu, Feb 4, 2021 at 9:37 AM James Park wrote: > > > > On Thu, Feb 4, 2021 at 3:37 AM Emil Velikov > > wrote: > > > > > > Currently, the drm_fourcc.h header depends on drm.h for __u32 and __u64. > > > At the same time drm.h pulls a lot of

Re: [PATCH v2] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard

2021-02-04 Thread James Park
On Thu, Feb 4, 2021 at 9:37 AM James Park wrote: > > On Thu, Feb 4, 2021 at 3:37 AM Emil Velikov wrote: > > > > Currently, the drm_fourcc.h header depends on drm.h for __u32 and __u64. > > At the same time drm.h pulls a lot of unneeded symbols. > > > > Add new guard DRM_FOURCC_STANDALONE, which

Re: [PATCH v2] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard

2021-02-04 Thread James Park
On Thu, Feb 4, 2021 at 3:37 AM Emil Velikov wrote: > > Currently, the drm_fourcc.h header depends on drm.h for __u32 and __u64. > At the same time drm.h pulls a lot of unneeded symbols. > > Add new guard DRM_FOURCC_STANDALONE, which when set will use local > declaration of said symbols. > > When

[PATCH v2] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard

2021-02-04 Thread Emil Velikov
Currently, the drm_fourcc.h header depends on drm.h for __u32 and __u64. At the same time drm.h pulls a lot of unneeded symbols. Add new guard DRM_FOURCC_STANDALONE, which when set will use local declaration of said symbols. When used on linux - we pull linux/types.h which is used either way. On