[PATCH 2/9] amdgpu/dal: Kill off stub amdgpu_dm_*_dal_lock() symbols

Edward O'Callaghan eocallaghan at alterapraxis.com
Sat Apr 30 14:06:22 UTC 2016


There are no call sites for these nor do they do anything but
return a boolean true. For now avoid the clutter.

Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c | 14 --------------
 drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h |  5 -----
 2 files changed, 19 deletions(-)

diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
index 71b2808b..ce70af2 100644
--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
@@ -1379,17 +1379,3 @@ static int dm_early_init(void *handle)
 
 	return 0;
 }
-
-bool amdgpu_dm_acquire_dal_lock(struct amdgpu_display_manager *dm)
-{
-	/* TODO */
-	return true;
-}
-
-bool amdgpu_dm_release_dal_lock(struct amdgpu_display_manager *dm)
-{
-	/* TODO */
-	return true;
-}
-
-
diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h
index d497b6d..e23671b 100644
--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h
+++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.h
@@ -148,11 +148,6 @@ int amdgpu_dm_initialize_drm_device(
 void amdgpu_dm_destroy_drm_device(
 	struct amdgpu_display_manager *dm);
 
-/* Locking/Mutex */
-bool amdgpu_dm_acquire_dal_lock(struct amdgpu_display_manager *dm);
-
-bool amdgpu_dm_release_dal_lock(struct amdgpu_display_manager *dm);
-
 /* Register "Backlight device" accessible by user-mode. */
 void amdgpu_dm_register_backlight_device(struct amdgpu_display_manager *dm);
 
-- 
2.5.5



More information about the dri-devel mailing list