aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArindam Nath <arindam.nath@amd.com>2016-12-05 19:21:26 +0530
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:04:13 -0400
commit49c07a99b2bdd6e6ed621f728d58d8535cc87a61 (patch)
treeb3512d5d421243236b17c51fded70e1749320918
parentdrm/amd/display: moving remaining functionality from gpu to dce_clocks (diff)
downloadlinux-49c07a99b2bdd6e6ed621f728d58d8535cc87a61.tar.gz
linux-49c07a99b2bdd6e6ed621f728d58d8535cc87a61.zip
drm/amd/display: remove DM_NOT_IMPL messages
Some functions like dm_bandwidth_update are placeholders for future implementations. Right now, they simply print messages like "DM_NOT_IMPL: dm_bandwidth_update". This message even though informational, sometimes can create some confusion for users. Since these functions are only skeletons for future, we simply remove the rather un-unecessary messages from these functions. Signed-off-by: Arindam Nath <arindam.nath@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index fa55147d0c47..396dbd661183 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -48,10 +48,6 @@
#include "modules/inc/mod_freesync.h"
-/* Debug facilities */
-#define AMDGPU_DM_NOT_IMPL(fmt, ...) \
- DRM_INFO("DM_NOT_IMPL: " fmt, ##__VA_ARGS__)
-
/*
* dm_vblank_get_counter
*
@@ -1269,20 +1265,18 @@ void amdgpu_dm_destroy_drm_device(struct amdgpu_display_manager *dm)
*/
static void dm_bandwidth_update(struct amdgpu_device *adev)
{
- AMDGPU_DM_NOT_IMPL("%s\n", __func__);
+ /* TODO: implement later */
}
static void dm_set_backlight_level(struct amdgpu_encoder *amdgpu_encoder,
u8 level)
{
/* TODO: translate amdgpu_encoder to display_index and call DAL */
- AMDGPU_DM_NOT_IMPL("%s\n", __func__);
}
static u8 dm_get_backlight_level(struct amdgpu_encoder *amdgpu_encoder)
{
/* TODO: translate amdgpu_encoder to display_index and call DAL */
- AMDGPU_DM_NOT_IMPL("%s\n", __func__);
return 0;
}