diff options
author | Dave Airlie <airlied@redhat.com> | 2016-12-05 20:01:33 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-12-05 20:01:33 -0500 |
commit | 17f1dfd01ca105f0d3609225c9e7079c7df483b2 (patch) | |
tree | a30e2b896d41f0bb5206825d07ffd49cff97ed64 /drivers/gpu/drm/amd/amdgpu/vi.c | |
parent | 770ac20413ce654f6e4efaaf24e954ebb907fc3b (diff) | |
parent | e7b8243d3e0ace9f5130c3b5c3c52a50039a7501 (diff) |
Merge branch 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-next
- lots of code cleanup
- lots of bug fixes
- expose rpm based fan info via hwmon
- lots of clock and powergating fixes
- SI register header cleanup and conversion to common format used by newer asics
* 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux: (54 commits)
drm/amdgpu: drop is_display_hung from display funcs
drm/amdgpu/uvd: reduce IB parsing overhead on UVD5+ (v2)
drm/amdgpu/uvd: consolidate code for fetching addr from ctx
drm/amdgpu: Disable DPM in virtualization
drm/amdgpu: use AMDGPU_GEM_CREATE_VRAM_CLEARED for VM PD/PTs (v2)
drm/amdgpu: improve AMDGPU_GEM_CREATE_VRAM_CLEARED handling (v2)
drm/amdgpu: fix error handling in amdgpu_bo_create_restricted
drm/amdgpu: fix amdgpu_fill_buffer (v2)
drm/amdgpu: remove amdgpu_irq_get_delayed
amdgpu: Wrap dev_err() calls on vm faults with printk_ratelimit()
amdgpu: Use dev_err() over vanilla printk() in vm_decode_fault()
drm/amd/amdgpu: port of DCE v6 to new headers (v3)
drm/amdgpu: cleanup unused iterator members for sdma v2.4
drm/amdgpu: cleanup unused iterator members for sdma v3
drm/amdgpu:impl vgt_flush for VI(V5)
drm/amdgpu: enable uvd mgcg for Fiji.
drm/amdgpu: refine cz uvd clock gate logic.
drm/amdgpu: change log level to KERN_INFO in ci_dpm.c
drm/amdgpu: always un-gate UVD REGS path.
drm/amdgpu/sdma: fix typo in packet setup
...
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 0b21e7beda91..243dcf7bae47 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c | |||
@@ -926,7 +926,8 @@ static int vi_common_early_init(void *handle) | |||
926 | AMD_CG_SUPPORT_HDP_LS | | 926 | AMD_CG_SUPPORT_HDP_LS | |
927 | AMD_CG_SUPPORT_ROM_MGCG | | 927 | AMD_CG_SUPPORT_ROM_MGCG | |
928 | AMD_CG_SUPPORT_MC_MGCG | | 928 | AMD_CG_SUPPORT_MC_MGCG | |
929 | AMD_CG_SUPPORT_MC_LS; | 929 | AMD_CG_SUPPORT_MC_LS | |
930 | AMD_CG_SUPPORT_UVD_MGCG; | ||
930 | adev->pg_flags = 0; | 931 | adev->pg_flags = 0; |
931 | adev->external_rev_id = adev->rev_id + 0x3c; | 932 | adev->external_rev_id = adev->rev_id + 0x3c; |
932 | break; | 933 | break; |
@@ -936,12 +937,12 @@ static int vi_common_early_init(void *handle) | |||
936 | adev->external_rev_id = adev->rev_id + 0x14; | 937 | adev->external_rev_id = adev->rev_id + 0x14; |
937 | break; | 938 | break; |
938 | case CHIP_POLARIS11: | 939 | case CHIP_POLARIS11: |
939 | adev->cg_flags = 0; | 940 | adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG; |
940 | adev->pg_flags = 0; | 941 | adev->pg_flags = 0; |
941 | adev->external_rev_id = adev->rev_id + 0x5A; | 942 | adev->external_rev_id = adev->rev_id + 0x5A; |
942 | break; | 943 | break; |
943 | case CHIP_POLARIS10: | 944 | case CHIP_POLARIS10: |
944 | adev->cg_flags = 0; | 945 | adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG; |
945 | adev->pg_flags = 0; | 946 | adev->pg_flags = 0; |
946 | adev->external_rev_id = adev->rev_id + 0x50; | 947 | adev->external_rev_id = adev->rev_id + 0x50; |
947 | break; | 948 | break; |