mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 14:43:42 -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
@@ -40,11 +40,9 @@
|
||||
|
||||
#undef DEPRECATED
|
||||
|
||||
#ifdef CONFIG_DRM_AMD_DC_DMUB
|
||||
struct dmub_srv;
|
||||
struct dc_dmub_srv;
|
||||
|
||||
#endif
|
||||
irq_handler_idx dm_register_interrupt(
|
||||
struct dc_context *ctx,
|
||||
struct dc_interrupt_params *int_params,
|
||||
@@ -144,14 +142,12 @@ uint32_t generic_reg_update_ex(const struct dc_context *ctx,
|
||||
uint32_t addr, int n,
|
||||
uint8_t shift1, uint32_t mask1, uint32_t field_value1, ...);
|
||||
|
||||
#ifdef CONFIG_DRM_AMD_DC_DMUB
|
||||
struct dc_dmub_srv *dc_dmub_srv_create(struct dc *dc, struct dmub_srv *dmub);
|
||||
void dc_dmub_srv_destroy(struct dc_dmub_srv **dmub_srv);
|
||||
|
||||
void reg_sequence_start_gather(const struct dc_context *ctx);
|
||||
void reg_sequence_start_execute(const struct dc_context *ctx);
|
||||
void reg_sequence_wait_done(const struct dc_context *ctx);
|
||||
#endif
|
||||
|
||||
#define FD(reg_field) reg_field ## __SHIFT, \
|
||||
reg_field ## _MASK
|
||||
|
||||
Reference in New Issue
Block a user