mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards
[Why] Support for DMUB only depends on support for DC. It doesn't use floating point so we don't need to guard it by any specific DCN revision. [How] Drop the guards and cleanup the newlines around each one. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Hersen Wu <hersenxs.wu@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
9a71c7d317
commit
2200eb9e18
@@ -57,10 +57,8 @@ struct amdgpu_device;
|
||||
struct drm_device;
|
||||
struct amdgpu_dm_irq_handler_data;
|
||||
struct dc;
|
||||
#ifdef CONFIG_DRM_AMD_DC_DMUB
|
||||
struct amdgpu_bo;
|
||||
struct dmub_srv;
|
||||
#endif
|
||||
|
||||
struct common_irq_params {
|
||||
struct amdgpu_device *adev;
|
||||
@@ -125,7 +123,6 @@ struct amdgpu_display_manager {
|
||||
|
||||
struct dc *dc;
|
||||
|
||||
#ifdef CONFIG_DRM_AMD_DC_DMUB
|
||||
/**
|
||||
* @dmub_srv:
|
||||
*
|
||||
@@ -170,7 +167,6 @@ struct amdgpu_display_manager {
|
||||
*/
|
||||
uint32_t dmcub_fw_version;
|
||||
|
||||
#endif
|
||||
/**
|
||||
* @cgs_device:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user