On Fri, Jan 19, 2018 at 3:10 AM, Rex Zhu <Rex.Zhu at amd.com> wrote: > Change-Id: I9bb42d70b6a6b31c0eecc3ee2faf487982957356 > Signed-off-by: Rex Zhu <Rex.Zhu at amd.com> Typo in the subject. should be CZ/Iceland Please also add a commit message. Something like: drm/amd/pp: Disable OD feature on CZ/Iceland Not supported on APUs or Iceland. With those fixed: Reviewed-by: Alex Deucher <alexander.deucher at amd.com> > --- > drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c > index 2690446..c5411fe 100644 > --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c > +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c > @@ -167,6 +167,7 @@ int hwmgr_early_init(struct pp_instance *handle) > hwmgr->feature_mask &= ~(PP_VBI_TIME_SUPPORT_MASK | > PP_ENABLE_GFX_CG_THRU_SMU); > hwmgr->pp_table_version = PP_TABLE_V0; > + hwmgr->od_enabled = false; > smu7_init_function_pointers(hwmgr); > break; > case AMDGPU_FAMILY_CZ: > @@ -181,6 +182,7 @@ int hwmgr_early_init(struct pp_instance *handle) > hwmgr->feature_mask &= ~ (PP_VBI_TIME_SUPPORT_MASK | > PP_ENABLE_GFX_CG_THRU_SMU); > hwmgr->pp_table_version = PP_TABLE_V0; > + hwmgr->od_enabled = false; > break; > case CHIP_TONGA: > hwmgr->smumgr_funcs = &tonga_smu_funcs; > -- > 1.9.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx