aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorAndrew Jiang <Andrew.Jiang@amd.com>2017-11-14 12:40:20 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-12-06 12:48:14 -0500
commit621fd3e39fc0222d7c8d95ddb5a2dff6261a0a86 (patch)
tree489363b1d1b1f5ce72670729d2873e8d5e7b2fe6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parenta2c7f9e893acb809a85db473d0c060073f72ca52 (diff)
downloadlinux-621fd3e39fc0222d7c8d95ddb5a2dff6261a0a86.tar.gz
linux-621fd3e39fc0222d7c8d95ddb5a2dff6261a0a86.tar.bz2
linux-621fd3e39fc0222d7c8d95ddb5a2dff6261a0a86.zip
drm/amd/display: Set OPP default values in init_hw
On S3 resume, we do not reconstruct OPP, but we do need to reinitialize some of its values to the default ones. Therefore, move those lines out of the OPP constructor and into init_hw. Also reset the hubp power gated flag, since nothing is power gated at init_hw. Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions