mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
drm/amd/display: rename variable eanble -> enable
There is a spelling mistake in the variable name eanble, rename it to enable. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
3e103fc301
commit
60233044d8
1 changed files with 4 additions and 4 deletions
|
@ -606,11 +606,11 @@ static void dce_mi_allocate_dmif(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dce_mi->wa.single_head_rdreq_dmif_limit) {
|
if (dce_mi->wa.single_head_rdreq_dmif_limit) {
|
||||||
uint32_t eanble = (total_stream_num > 1) ? 0 :
|
uint32_t enable = (total_stream_num > 1) ? 0 :
|
||||||
dce_mi->wa.single_head_rdreq_dmif_limit;
|
dce_mi->wa.single_head_rdreq_dmif_limit;
|
||||||
|
|
||||||
REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
|
REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
|
||||||
ENABLE, eanble);
|
ENABLE, enable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -636,11 +636,11 @@ static void dce_mi_free_dmif(
|
||||||
10, 3500);
|
10, 3500);
|
||||||
|
|
||||||
if (dce_mi->wa.single_head_rdreq_dmif_limit) {
|
if (dce_mi->wa.single_head_rdreq_dmif_limit) {
|
||||||
uint32_t eanble = (total_stream_num > 1) ? 0 :
|
uint32_t enable = (total_stream_num > 1) ? 0 :
|
||||||
dce_mi->wa.single_head_rdreq_dmif_limit;
|
dce_mi->wa.single_head_rdreq_dmif_limit;
|
||||||
|
|
||||||
REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
|
REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
|
||||||
ENABLE, eanble);
|
ENABLE, enable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue