mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in gpio
[Why & How] CONFIG_DRM_AMD_DC_DCN is used by pass the compilation failures, but DC code should be OS-agnostic. This patch fixes it by removing unnecessasry CONFIG_DRM_AMD_DC_DCN in gpio directory. Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Stylon Wang <stylon.wang@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -46,13 +46,11 @@
|
||||
#include "dce80/hw_translate_dce80.h"
|
||||
#include "dce110/hw_translate_dce110.h"
|
||||
#include "dce120/hw_translate_dce120.h"
|
||||
#if defined(CONFIG_DRM_AMD_DC_DCN)
|
||||
#include "dcn10/hw_translate_dcn10.h"
|
||||
#include "dcn20/hw_translate_dcn20.h"
|
||||
#include "dcn21/hw_translate_dcn21.h"
|
||||
#include "dcn30/hw_translate_dcn30.h"
|
||||
#include "dcn315/hw_translate_dcn315.h"
|
||||
#endif
|
||||
|
||||
#include "diagnostics/hw_translate_diag.h"
|
||||
|
||||
@@ -93,7 +91,6 @@ bool dal_hw_translate_init(
|
||||
case DCE_VERSION_12_1:
|
||||
dal_hw_translate_dce120_init(translate);
|
||||
return true;
|
||||
#if defined(CONFIG_DRM_AMD_DC_DCN)
|
||||
case DCN_VERSION_1_0:
|
||||
case DCN_VERSION_1_01:
|
||||
dal_hw_translate_dcn10_init(translate);
|
||||
@@ -116,7 +113,6 @@ bool dal_hw_translate_init(
|
||||
case DCN_VERSION_3_15:
|
||||
dal_hw_translate_dcn315_init(translate);
|
||||
return true;
|
||||
#endif
|
||||
|
||||
default:
|
||||
BREAK_TO_DEBUGGER();
|
||||
|
||||
Reference in New Issue
Block a user