[Intel-gfx] [RFC 1/3] fs: Introduce drmfs pseudo filesystem interfaces

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 1 08:11:57 UTC 2016


On Thu, Dec 01, 2016 at 12:32:31PM +0530, swati.dhingra at intel.com wrote:
> diff --git a/fs/Kconfig b/fs/Kconfig
> index 4bd03a2..7d0ac20 100644
> --- a/fs/Kconfig
> +++ b/fs/Kconfig
> @@ -200,6 +200,15 @@ config HUGETLBFS
>  config HUGETLB_PAGE
>  	def_bool HUGETLBFS
>  
> +config DRMFS
> +	bool "Drmfs file system support"
> +	depends on DRM
> +	help
> +	  Drmfs is a pseudo file system for drm subsystem output data.
> +
> +	  drmfs is a filesystem to hold miscellaneous output data from drm
> +	  subsystems.
> +
>  config ARCH_HAS_GIGANTIC_PAGE
>  	bool
>  
> diff --git a/fs/Makefile b/fs/Makefile
> index ed2b632..b34a96e 100644
> --- a/fs/Makefile
> +++ b/fs/Makefile
> @@ -120,6 +120,7 @@ obj-$(CONFIG_BEFS_FS)		+= befs/
>  obj-$(CONFIG_HOSTFS)		+= hostfs/
>  obj-$(CONFIG_CACHEFILES)	+= cachefiles/
>  obj-$(CONFIG_DEBUG_FS)		+= debugfs/
> +obj-$(CONFIG_DRMFS)		+= drmfs/

A filesystem does not have to live under fs/. Since this is dedicated
and tied to the lifetime of drivers/gpu/drm/drm.ko, we will be happier
with not adding a new MAINTAINERS entry.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list