aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2017-08-10 14:39:50 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:16:32 -0400
commitebfdf0d0770bd20e9baff3750b5103d6b7fa21c3 (patch)
tree972762987ebfbf1b29bfc0bd99c442932c8d7bfc /drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
parentdrm/amd/display/dc: add DIGG for KV (diff)
downloadlinux-ebfdf0d0770bd20e9baff3750b5103d6b7fa21c3.tar.gz
linux-ebfdf0d0770bd20e9baff3750b5103d6b7fa21c3.zip
drm/amd/display/dc: add DCE_VERSION for DCE8 APUs
DCE 8.1 = Kaveri DCE 8.3 = Kabini/Mullins Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
index dd7e1dd62636..88e266ac6dd3 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
@@ -578,6 +578,8 @@ static uint32_t dce110_get_pix_clk_dividers(
switch (cs->ctx->dce_version) {
case DCE_VERSION_8_0:
+ case DCE_VERSION_8_1:
+ case DCE_VERSION_8_3:
case DCE_VERSION_10_0:
case DCE_VERSION_11_0:
pll_calc_error =
@@ -862,6 +864,8 @@ static bool dce110_program_pix_clk(
switch (clock_source->ctx->dce_version) {
case DCE_VERSION_8_0:
+ case DCE_VERSION_8_1:
+ case DCE_VERSION_8_3:
case DCE_VERSION_10_0:
case DCE_VERSION_11_0:
bp_pc_params.reference_divider = pll_settings->reference_divider;
@@ -1209,6 +1213,8 @@ bool dce110_clk_src_construct(
switch (clk_src->base.ctx->dce_version) {
case DCE_VERSION_8_0:
+ case DCE_VERSION_8_1:
+ case DCE_VERSION_8_3:
case DCE_VERSION_10_0:
case DCE_VERSION_11_0: