[PATCH v2 3/5] drm/dp: Move DisplayPort helpers into separate helper module

Jani Nikula jani.nikula at linux.intel.com
Wed Dec 15 03:04:00 PST 2021


On Wed, 15 Dec 2021, Thomas Zimmermann <tzimmermann at suse.de> wrote:
> 	* move DP helper code into dp/ (Jani)

I suggested adding the subdirectory, but I'm going to bikeshed the name,
which I didn't suggest.

$ find drivers/gpu/drm -mindepth 1 -maxdepth 1 -type d | wc -l
68

Assuming we move more of the drm modules to subdirectories, how are they
going to stand out from drivers?

I suggested drm_dp, which I understand results in tautology, but hey,
all the filenames under drm/ also have drm_*.[ch]. And I find that very
useful for git greps and other code archeology. With just the dp name,
you'd have to know and list all the drm subdirectories when looking up
stuff that's part of drm but not drivers.


BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center



More information about the linux-arm-kernel mailing list