drm/ttm: fix removal of bo_count sysfs file
Subsystems (3)
PATCH 1/1 drm/ttm: fix removal of bo_count sysfs file
Only a zombie leftover from rebasing.
--- drivers/gpu/drm/ttm/ttm_device.c | 2 -- include/drm/ttm/ttm_device.h | 1 - 2 files changed, 3 deletions(-)
drivers/gpu/drm/ttm/ttm_device.c +0 -2
@@ -49,8 +49,6 @@ static void ttm_global_release(void)if (--ttm_glob_use_count >0 ) goto out; -kobject_del (&glob->kobj); -kobject_put (&glob->kobj);ttm_mem_global_release (&ttm_mem_glob);__free_page (glob->dummy_read_page);memset (glob,0 ,sizeof (*glob));
include/drm/ttm/ttm_device.h +0 -1
@@ -55,7 +55,6 @@ extern struct ttm_global {* Constant after init. */ -struct kobject kobj;struct page *dummy_read_page;spinlock_t lru_lock;
Signature · 6 lines
2.25.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Christian König
Only a zombie leftover from rebasing.
Signed-off-by Christian König <[email protected]>Fixes 3763d635deaa ("drm/ttm: add debugfs directory v2")
My drm-misc-next still uses this in places, is this just fallout from the move of the sysfs files into vmwgfx? Your Fixes: line here confuses me a lot, and on the current baseline I don't think this applies ...
-Daniel
Quoted 37 lines
--- drivers/gpu/drm/ttm/ttm_device.c | 2 -- include/drm/ttm/ttm_device.h | 1 - 2 files changed, 3 deletions(-)drivers/gpu/drm/ttm/ttm_device.c +0
-2@@ -49,8 +49,6 @@ static void ttm_global_release(void)if (--ttm_glob_use_count >0 ) goto out; -kobject_del (&glob->kobj); -kobject_put (&glob->kobj);ttm_mem_global_release (&ttm_mem_glob);__free_page (glob->dummy_read_page);memset (glob,0 ,sizeof (*glob));include/drm/ttm/ttm_device.h +0
-2@@ -55,7 +55,6 @@ extern struct ttm_global {* Constant after init. */ -struct kobject kobj;struct page *dummy_read_page;spinlock_t lru_lock; --2.25.1
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 09.02.21 um 14:32 schrieb Daniel Vetter:
Quoted 7 lines
Quoted 4 lines · Christian König
Only a zombie leftover from rebasing.
Signed-off-by Christian König <[email protected]>Fixes 3763d635deaa ("drm/ttm: add debugfs directory v2")My drm-misc-next still uses this in places,
Hui? Where?
Quoted 4 lines
is this just fallout from
the move of the sysfs files into vmwgfx? Your Fixes: line here confuses me a lot, and on the current baseline I don't think this applies ...
As far as I can see this was just an error during rebasing.
Commit 3763d635deaa ("drm/ttm: add debugfs directory v2") removed the kobj, but while rebasing the ttm_device rename I accidentally brought it back.
Christian.
Quoted 32 lines
-Daniel
Quoted 30 lines
--- drivers/gpu/drm/ttm/ttm_device.c | 2 -- include/drm/ttm/ttm_device.h | 1 - 2 files changed, 3 deletions(-)drivers/gpu/drm/ttm/ttm_device.c +0
-2@@ -49,8 +49,6 @@ static void ttm_global_release(void)if (--ttm_glob_use_count >0 ) goto out; -kobject_del (&glob->kobj); -kobject_put (&glob->kobj);ttm_mem_global_release (&ttm_mem_glob);__free_page (glob->dummy_read_page);memset (glob,0 ,sizeof (*glob));include/drm/ttm/ttm_device.h +0
-1@@ -55,7 +55,6 @@ extern struct ttm_global {* Constant after init. */ -struct kobject kobj;struct page *dummy_read_page;spinlock_t lru_lock;
Quoted 9 lines
Quoted 7 lines
--
2.25.1_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Christian König
Am 09.02.21 um 14:32 schrieb Daniel Vetter:
Quoted 2 lines
On Tue, Feb 9, 2021 at 2:18 PM Christian König
<[email protected]> wrote:
Quoted 7 lines
Quoted 5 lines
Quoted 4 lines
Only a zombie leftover from rebasing.
Signed-off-by Christian König <[email protected]>Fixes 3763d635deaa ("drm/ttm: add debugfs directory v2")My drm-misc-next still uses this in places,
Hui? Where?
Duh, I mixed up ttm_mem_global with ttm_global and didn't fitler my grep output correctly ...
Quoted 11 lines
Quoted 5 lines
is this just fallout from
the move of the sysfs files into vmwgfx? Your Fixes: line here confuses me a lot, and on the current baseline I don't think this applies ...As far as I can see this was just an error during rebasing.
Commit
3763d635deaa("drm/ttm: add debugfs directory v2") removed the kobj, but while rebasing thettm_devicerename I accidentally brought it back.
Your patch is fine. Reviewed-by: Daniel Vetter <[email protected]>
Quoted 45 lines
Christian.
Quoted 41 lines
-Daniel
Quoted 37 lines
--- drivers/gpu/drm/ttm/ttm_device.c | 2 -- include/drm/ttm/ttm_device.h | 1 - 2 files changed, 3 deletions(-)drivers/gpu/drm/ttm/ttm_device.c +0
-2@@ -49,8 +49,6 @@ static void ttm_global_release(void)if (--ttm_glob_use_count >0 ) goto out; -kobject_del (&glob->kobj); -kobject_put (&glob->kobj);ttm_mem_global_release (&ttm_mem_glob);__free_page (glob->dummy_read_page);memset (glob,0 ,sizeof (*glob));include/drm/ttm/ttm_device.h +0
-2@@ -55,7 +55,6 @@ extern struct ttm_global {* Constant after init. */ -struct kobject kobj;struct page *dummy_read_page;spinlock_t lru_lock; --2.25.1
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 27 lines · Christian König
Only a zombie leftover from rebasing.
Signed-off-by Christian König <[email protected]>Fixes 3763d635deaa ("drm/ttm: add debugfs directory v2")--- drivers/gpu/drm/ttm/ttm_device.c | 2 -- include/drm/ttm/ttm_device.h | 1 - 2 files changed, 3 deletions(-)drivers/gpu/drm/ttm/ttm_device.c +0
-2@@ -49,8 +49,6 @@ static void ttm_global_release(void)if (--ttm_glob_use_count >0 ) goto out; -kobject_del (&glob->kobj); -kobject_put (&glob->kobj);ttm_mem_global_release (&ttm_mem_glob);__free_page (glob->dummy_read_page);memset (glob,0 ,sizeof (*glob));include/drm/ttm/ttm_device.h +0
-0
include/drm/ttm/ttm_device.h extern struct ttm_global { · line 60
Quoted 7 lines
include/drm/ttm/ttm_device.h +0
-1@@ -55,7 +55,6 @@ extern struct ttm_global {* Constant after init. */ -struct kobject kobj;struct page *dummy_read_page;spinlock_t lru_lock;
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel