diff options
author | Dave Airlie <airlied@redhat.com> | 2015-09-03 23:06:29 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-09-03 23:06:29 -0400 |
commit | 99495589aa4de7166af254bc497cdbe133fc24bb (patch) | |
tree | d525e957854064f2492976e9beb8a04dddc28143 /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |
parent | 879a37d00f1882b1e56a66e626af4194d592d257 (diff) | |
parent | bddf8026386927985ef6d0d11c3ba78f70b76bad (diff) |
Merge branch 'drm-next-4.3' of git://people.freedesktop.org/~agd5f/linux into drm-next
More fixes for radeon and amdgpu for 4.3:
- Send full DP aux address fixes for radeon and amdgpu
- Fix an HDMI display regression for pre-DCE5 parts
- UVD suspend fixes for amdgpu
- Add an rs480 suspend quirk
- Fix bo reserve handling in amdgpu GEM_OP ioctl
- GPU scheduler fixes
- SDMA optimizations
- MEC fix for Fiji
* 'drm-next-4.3' of git://people.freedesktop.org/~agd5f/linux: (21 commits)
drm/amdgpu: set MEC doorbell range for Fiji
drm/amdgpu: implement burst NOP for SDMA
drm/amdgpu: add insert_nop ring func and default implementation
drm/amdgpu: add amdgpu_get_sdma_instance helper function
drm/amdgpu: add AMDGPU_MAX_SDMA_INSTANCES
drm/amdgpu: add burst_nop flag for sdma
drm/amdgpu: add count field for the SDMA NOP packet v2
drm/amdgpu: use PT for VM sync on unmap
drm/amdgpu: make wait_event uninterruptible in push_job
drm/amdgpu: fix amdgpu_bo_unreserve order in GEM_OP IOCTL v2
drm/amdgpu: partially revert "modify amdgpu_fence_wait_any() to amdgpu_fence_wait_multiple()" v2
Add radeon suspend/resume quirk for HP Compaq dc5750.
drm/amdgpu: re-work sync_resv
drm/amdgpu/atom: Send out the full AUX address
drm/radeon/native: Send out the full AUX address
drm/radeon/atom: Send out the full AUX address
drm/amdgpu: use IB for fill_buffer instead of direct command
drm/amdgpu: stop trying to suspend UVD sessions v2
drm/amdgpu: add scheduler dependency callback v2
drm/amdgpu: let the scheduler work more with jobs v2
...
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 818edb37fa9c..0af357a1a170 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |||
@@ -3240,7 +3240,8 @@ static int gfx_v8_0_cp_compute_resume(struct amdgpu_device *adev) | |||
3240 | 3240 | ||
3241 | /* enable the doorbell if requested */ | 3241 | /* enable the doorbell if requested */ |
3242 | if (use_doorbell) { | 3242 | if (use_doorbell) { |
3243 | if (adev->asic_type == CHIP_CARRIZO) { | 3243 | if ((adev->asic_type == CHIP_CARRIZO) || |
3244 | (adev->asic_type == CHIP_FIJI)) { | ||
3244 | WREG32(mmCP_MEC_DOORBELL_RANGE_LOWER, | 3245 | WREG32(mmCP_MEC_DOORBELL_RANGE_LOWER, |
3245 | AMDGPU_DOORBELL_KIQ << 2); | 3246 | AMDGPU_DOORBELL_KIQ << 2); |
3246 | WREG32(mmCP_MEC_DOORBELL_RANGE_UPPER, | 3247 | WREG32(mmCP_MEC_DOORBELL_RANGE_UPPER, |
@@ -4378,6 +4379,7 @@ static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_gfx = { | |||
4378 | .test_ring = gfx_v8_0_ring_test_ring, | 4379 | .test_ring = gfx_v8_0_ring_test_ring, |
4379 | .test_ib = gfx_v8_0_ring_test_ib, | 4380 | .test_ib = gfx_v8_0_ring_test_ib, |
4380 | .is_lockup = gfx_v8_0_ring_is_lockup, | 4381 | .is_lockup = gfx_v8_0_ring_is_lockup, |
4382 | .insert_nop = amdgpu_ring_insert_nop, | ||
4381 | }; | 4383 | }; |
4382 | 4384 | ||
4383 | static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = { | 4385 | static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = { |
@@ -4394,6 +4396,7 @@ static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = { | |||
4394 | .test_ring = gfx_v8_0_ring_test_ring, | 4396 | .test_ring = gfx_v8_0_ring_test_ring, |
4395 | .test_ib = gfx_v8_0_ring_test_ib, | 4397 | .test_ib = gfx_v8_0_ring_test_ib, |
4396 | .is_lockup = gfx_v8_0_ring_is_lockup, | 4398 | .is_lockup = gfx_v8_0_ring_is_lockup, |
4399 | .insert_nop = amdgpu_ring_insert_nop, | ||
4397 | }; | 4400 | }; |
4398 | 4401 | ||
4399 | static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev) | 4402 | static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev) |