Commit 87e9585b authored by Qingqing Zhuo's avatar Qingqing Zhuo Committed by Alex Deucher

drm/amd/display: Replace referral of dal with dc

[Why]
DC should be used in place of DAL in
upstream.

[How]
Replace dal with dc in function names.
Reviewed-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: default avatarAnson Jacob <Anson.Jacob@amd.com>
Signed-off-by: default avatarQingqing Zhuo <Qingqing.Zhuo@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 487ac89f
...@@ -243,7 +243,7 @@ void dcn2_update_clocks(struct clk_mgr *clk_mgr_base, ...@@ -243,7 +243,7 @@ void dcn2_update_clocks(struct clk_mgr *clk_mgr_base,
pp_smu = &dc->res_pool->pp_smu->nv_funcs; pp_smu = &dc->res_pool->pp_smu->nv_funcs;
for (irq_src = DC_IRQ_SOURCE_HPD1; irq_src <= DC_IRQ_SOURCE_HPD6; irq_src++) { for (irq_src = DC_IRQ_SOURCE_HPD1; irq_src <= DC_IRQ_SOURCE_HPD6; irq_src++) {
hpd_state = dal_get_hpd_state_dcn20(dc->res_pool->irqs, irq_src); hpd_state = dc_get_hpd_state_dcn20(dc->res_pool->irqs, irq_src);
if (hpd_state) if (hpd_state)
break; break;
} }
......
...@@ -152,7 +152,7 @@ void rn_update_clocks(struct clk_mgr *clk_mgr_base, ...@@ -152,7 +152,7 @@ void rn_update_clocks(struct clk_mgr *clk_mgr_base,
display_count = rn_get_active_display_cnt_wa(dc, context); display_count = rn_get_active_display_cnt_wa(dc, context);
for (irq_src = DC_IRQ_SOURCE_HPD1; irq_src <= DC_IRQ_SOURCE_HPD5; irq_src++) { for (irq_src = DC_IRQ_SOURCE_HPD1; irq_src <= DC_IRQ_SOURCE_HPD5; irq_src++) {
hpd_state = dal_get_hpd_state_dcn21(dc->res_pool->irqs, irq_src); hpd_state = dc_get_hpd_state_dcn21(dc->res_pool->irqs, irq_src);
if (hpd_state) if (hpd_state)
break; break;
} }
......
...@@ -132,7 +132,7 @@ enum dc_irq_source to_dal_irq_source_dcn20( ...@@ -132,7 +132,7 @@ enum dc_irq_source to_dal_irq_source_dcn20(
} }
} }
uint32_t dal_get_hpd_state_dcn20(struct irq_service *irq_service, enum dc_irq_source source) uint32_t dc_get_hpd_state_dcn20(struct irq_service *irq_service, enum dc_irq_source source)
{ {
const struct irq_source_info *info; const struct irq_source_info *info;
uint32_t addr; uint32_t addr;
......
...@@ -31,6 +31,6 @@ ...@@ -31,6 +31,6 @@
struct irq_service *dal_irq_service_dcn20_create( struct irq_service *dal_irq_service_dcn20_create(
struct irq_service_init_data *init_data); struct irq_service_init_data *init_data);
uint32_t dal_get_hpd_state_dcn20(struct irq_service *irq_service, enum dc_irq_source source); uint32_t dc_get_hpd_state_dcn20(struct irq_service *irq_service, enum dc_irq_source source);
#endif #endif
...@@ -135,7 +135,7 @@ enum dc_irq_source to_dal_irq_source_dcn21( ...@@ -135,7 +135,7 @@ enum dc_irq_source to_dal_irq_source_dcn21(
return DC_IRQ_SOURCE_INVALID; return DC_IRQ_SOURCE_INVALID;
} }
uint32_t dal_get_hpd_state_dcn21(struct irq_service *irq_service, enum dc_irq_source source) uint32_t dc_get_hpd_state_dcn21(struct irq_service *irq_service, enum dc_irq_source source)
{ {
const struct irq_source_info *info; const struct irq_source_info *info;
uint32_t addr; uint32_t addr;
......
...@@ -31,6 +31,6 @@ ...@@ -31,6 +31,6 @@
struct irq_service *dal_irq_service_dcn21_create( struct irq_service *dal_irq_service_dcn21_create(
struct irq_service_init_data *init_data); struct irq_service_init_data *init_data);
uint32_t dal_get_hpd_state_dcn21(struct irq_service *irq_service, enum dc_irq_source source); uint32_t dc_get_hpd_state_dcn21(struct irq_service *irq_service, enum dc_irq_source source);
#endif #endif
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