summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-12-13 16:41:07 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:06:04 -0400
commit2a0998846d2eadabf8c5770f66feb3cb04ad88b5 (patch)
treea5ebab350815b697b094f6e7e0232aa917d625c1 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
parent55b99b4640d4898c140fef7073291918a6e32539 (diff)
drm/amd/display: drop register logger and pid/tgid getters
While I'm sure this is useful I think we should bring it back later. It's usage of pid/tgid is incorrect, you have to get/put pid/tgids not store them away. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c')
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
index 9c852a36a604..565be0506059 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
@@ -447,13 +447,3 @@ void dal_notify_setmode_complete(struct dc_context *ctx,
/*TODO*/
}
/* End of calls to notification */
-
-long dm_get_pid(void)
-{
- return current->pid;
-}
-
-long dm_get_tgid(void)
-{
- return current->tgid;
-}