Commit 49c07a99 authored by Arindam Nath's avatar Arindam Nath Committed by Alex Deucher

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: default avatarArindam Nath <arindam.nath@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e11b86ad
...@@ -48,10 +48,6 @@ ...@@ -48,10 +48,6 @@
#include "modules/inc/mod_freesync.h" #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 * dm_vblank_get_counter
* *
...@@ -1269,20 +1265,18 @@ void amdgpu_dm_destroy_drm_device(struct amdgpu_display_manager *dm) ...@@ -1269,20 +1265,18 @@ void amdgpu_dm_destroy_drm_device(struct amdgpu_display_manager *dm)
*/ */
static void dm_bandwidth_update(struct amdgpu_device *adev) 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, static void dm_set_backlight_level(struct amdgpu_encoder *amdgpu_encoder,
u8 level) u8 level)
{ {
/* TODO: translate amdgpu_encoder to display_index and call DAL */ /* 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) static u8 dm_get_backlight_level(struct amdgpu_encoder *amdgpu_encoder)
{ {
/* TODO: translate amdgpu_encoder to display_index and call DAL */ /* TODO: translate amdgpu_encoder to display_index and call DAL */
AMDGPU_DM_NOT_IMPL("%s\n", __func__);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment