drm: meson: Fixup driver and module name
cover drm: meson: Fixup driver and module name
This patchset is a simple fixup to rename the confusion possible module and driver name "meson" to a more explicit "meson-drm" name.
Neil Armstrong (2):
drm: meson: rename module name to meson-drm
drm: meson: rename driver name to meson-drm
drivers/gpu/drm/meson/Makefile | 6 +++--- drivers/gpu/drm/meson/meson_drv.c | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/2 drm: meson: rename module name to meson-drm
The module is currently names "meson.ko" which can lead to some confusion, this patches renames it "meson-drm.ko"
--- drivers/gpu/drm/meson/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/meson/Makefile +3 -3
@@ -1,4 +1,4 @@ -meson-y := meson_drv.o meson_plane.o meson_crtc.o meson_venc_cvbs.o -meson-y += meson_viu.o meson_vpp.o meson_venc.o meson_vclk.o meson_canvas.o +meson-drm-y := meson_drv.o meson_plane.o meson_crtc.o meson_venc_cvbs.o +meson-drm-y += meson_viu.o meson_vpp.o meson_venc.o meson_vclk.o meson_canvas.o -obj-$(CONFIG_DRM_MESON) += meson.o +obj-$(CONFIG_DRM_MESON) += meson-drm.o
Signature · 1 line
1.9.1
PATCH 2/2 drm: meson: rename driver name to meson-drm
In reply to Neil ArmstrongThe platform driver name is currently "meson" which can lead to some confusion, this patch renames it to "meson-drm" and removes the owner attribute.
--- drivers/gpu/drm/meson/meson_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/meson/meson_drv.c +1 -2
@@ -329,8 +329,7 @@ static int meson_drv_remove(struct platform_device *pdev) .probe = meson_drv_probe, .remove = meson_drv_remove, .driver = { - .owner = THIS_MODULE, - .name = DRIVER_NAME, + .name = "meson-drm", .of_match_table = dt_match, }, };
Signature · 1 line
1.9.1
Re: [PATCH 2/2] drm: meson: rename driver name to meson-drm
Quoted 14 lines · Neil Armstrong
The platform driver name is currently "meson" which can lead to some confusion, this patch renames it to "meson-drm" and removes the owner attribute.
Signed-off-by Neil Armstrong <[email protected]>--- drivers/gpu/drm/meson/meson_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/meson/meson_drv.c +0
-0
drivers/gpu/drm/meson/meson_drv.c static int meson_drv_remove(struct platform_device *pdev) · line 332
Quoted 4 lines
drivers/gpu/drm/meson/meson_drv.c +0
-1@@ -329,8 +329,7 @@ static int meson_drv_remove(struct platform_device *pdev) .probe = meson_drv_probe, .remove = meson_drv_remove, .driver = { - .owner = THIS_MODULE,
I don't get why you remove this, generally that will lead to trouble of being able to unload code that's still in use ...
Otherwise ack.
Now, do you want to get this landed as part of the small drivers in drm-mis experiment?
-Daniel
Quoted 8 lines
drivers/gpu/drm/meson/meson_drv.c +1
-1- .name = DRIVER_NAME, + .name = "meson-drm", .of_match_table = dt_match, }, };Signature · 1 line
1.9.1
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Re: [PATCH 2/2] drm: meson: rename driver name to meson-drm
Quoted 10 lines · Daniel Vetter
Quoted 9 lines · Neil Armstrong
The platform driver name is currently "meson" which can lead to some confusion, this patch renames it to "meson-drm" and removes the owner attribute.
Signed-off-by Neil Armstrong <[email protected]>--- drivers/gpu/drm/meson/meson_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Quoted 9 lines
drivers/gpu/drm/meson/meson_drv.c static int meson_drv_remove(struct platform_device *pdev) · line 332
Quoted 9 lines
drivers/gpu/drm/meson/meson_drv.c +0
-1@@ -329,8 +329,7 @@ static int meson_drv_remove(struct platform_device *pdev) .probe = meson_drv_probe, .remove = meson_drv_remove, .driver = { - .owner = THIS_MODULE,
Hi Daniel,
Quoted 2 lines
I don't get why you remove this, generally that will lead to trouble of being able to unload code that's still in use ...
Indeed, but since a (long ?) time, the owner field is now populated by the
platform_driver_register() core code.
Quoted 5 lines
Otherwise ack.
Now, do you want to get this landed as part of the small drivers in drm-mis experiment?
I have a PR ready, but it can go through this experiment, yes.
Quoted 8 lines
-Daniel
drivers/gpu/drm/meson/meson_drv.c static int meson_drv_remove(struct platform_device *pdev) · line 335
Quoted 6 lines
drivers/gpu/drm/meson/meson_drv.c +1
-1- .name = DRIVER_NAME, + .name = "meson-drm", .of_match_table = dt_match, }, };
Thanks,
Neil
Re: [PATCH 2/2] drm: meson: rename driver name to meson-drm
Quoted 30 lines · Neil Armstrong
Quoted 10 lines · Daniel Vetter
Quoted 9 lines · Neil Armstrong
The platform driver name is currently "meson" which can lead to some confusion, this patch renames it to "meson-drm" and removes the owner attribute.
Signed-off-by Neil Armstrong <[email protected]>--- drivers/gpu/drm/meson/meson_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)Quoted 9 lines
drivers/gpu/drm/meson/meson_drv.c static int meson_drv_remove(struct platform_device *pdev) · line 332
Quoted 9 lines
drivers/gpu/drm/meson/meson_drv.c +0
-1@@ -329,8 +329,7 @@ static int meson_drv_remove(struct platform_device *pdev) .probe = meson_drv_probe, .remove = meson_drv_remove, .driver = { - .owner = THIS_MODULE,Hi Daniel,
Quoted 2 lines
I don't get why you remove this, generally that will lead to trouble of being able to unload code that's still in use ...
Indeed, but since a (long ?) time, the owner field is now populated by the
platform_driver_register()core code.Quoted 1 line
Quoted 6 lines
Quoted 4 lines
Otherwise ack.
Now, do you want to get this landed as part of the small drivers in drm-mis experiment?
I have a PR ready, but it can go through this experiment, yes.
If you want to give it a spin, you need:
- fdo account https://www.freedesktop.org/wiki/AccountRequests/
- drm-misc group access
- dim set up for drm-misc, see
https://01.org/linuxgraphics/gfx-docs/maintainer-tools/dim.html and
https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-misc.html
For questions it's best to pipe up #dri-devel.
Cheers, Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch