Revision tags: openbmc-20151104-1 |
|
#
c2776afe |
| 03-Nov-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: use a timer for fence fallback
Less overhead than a work item and also adds proper cleanup handling.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou
drm/amdgpu: use a timer for fence fallback
Less overhead than a work item and also adds proper cleanup handling.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
#
935c186a |
| 03-Nov-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove fence trace points
Mostly unused and replaced by the common trace points.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.co
drm/amdgpu: remove fence trace points
Mostly unused and replaced by the common trace points.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
#
a95e2642 |
| 03-Nov-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: group together common fence implementation
And also add some missing function documentation. No functional change.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by:
drm/amdgpu: group together common fence implementation
And also add some missing function documentation. No functional change.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
#
24372447 |
| 03-Nov-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: fix fence fallback check
Interrupts are notorious unreliable, enable the fallback at a couple of more places.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chun
drm/amdgpu: fix fence fallback check
Interrupts are notorious unreliable, enable the fallback at a couple of more places.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
Revision tags: v4.3, openbmc-20151102-1, openbmc-20151028-1 |
|
#
6ef68c17 |
| 22-Oct-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove amdgpu_fence_ref/unref
Just move the remaining users to fence_put/get.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.
drm/amdgpu: remove amdgpu_fence_ref/unref
Just move the remaining users to fence_put/get.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
#
ee327caf |
| 20-Oct-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: switch to common fence_wait_any_timeout v2
No need to duplicate the functionality any more.
v2: fix handling if no fence is available.
Signed-off-by: Christian König <christian.koenig@
drm/amdgpu: switch to common fence_wait_any_timeout v2
No need to duplicate the functionality any more.
v2: fix handling if no fence is available.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
show more ...
|
#
318cd340 |
| 15-Oct-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove unneeded fence functions
amdgpu_fence_default_wait isn't needed any more the default wait does the same thing and amdgpu_test_signaled is dead as well.
Signed-off-by: Christian K
drm/amdgpu: remove unneeded fence functions
amdgpu_fence_default_wait isn't needed any more the default wait does the same thing and amdgpu_test_signaled is dead as well.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
Revision tags: v4.3-rc1 |
|
#
ce16b0e5 |
| 06-Sep-2015 |
Junwei Zhang <Jerry.Zhang@amd.com> |
drm/amdgpu: remove the unnecessary parameter adev for amdgpu_fence_wait_any()
Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
|
#
0c418f10 |
| 01-Sep-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove the exclusive lock
Finally getting rid of it.
Signed-off-by: Christian König <christian.koenig@amd.com>
|
#
b7e4dad3 |
| 01-Sep-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove old lockup detection infrastructure
It didn't worked to well anyway.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Re
drm/amdgpu: remove old lockup detection infrastructure
It didn't worked to well anyway.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
show more ...
|
#
2440ff2c |
| 09-Oct-2015 |
Junwei Zhang <Jerry.Zhang@amd.com> |
drm/amdgpu: add timer to fence to detect scheduler lockup
Change-Id: I67e987db0efdca28faa80b332b75571192130d33 Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: David Zhou <david1.zhou@
drm/amdgpu: add timer to fence to detect scheduler lockup
Change-Id: I67e987db0efdca28faa80b332b75571192130d33 Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: David Zhou <david1.zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
show more ...
|
#
4f839a24 |
| 08-Sep-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: more scheduler cleanups v2
Embed the scheduler into the ring structure instead of allocating it. Use the ring name directly instead of the id.
v2: rebased, whitespace cleanup
Signed-of
drm/amdgpu: more scheduler cleanups v2
Embed the scheduler into the ring structure instead of allocating it. Use the ring name directly instead of the id.
v2: rebased, whitespace cleanup
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: Chunming Zhou<david1.zhou@amd.com>
show more ...
|
#
5ec92a76 |
| 07-Sep-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: cleanup fence queue init v2
Move the fence related stuff into amdgpu_fence.c
v2: rework commit message, cause this is actually not a bug
Signed-off-by: Christian König <christian.koeni
drm/amdgpu: cleanup fence queue init v2
Move the fence related stuff into amdgpu_fence.c
v2: rework commit message, cause this is actually not a bug
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou<david1.zhou@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
show more ...
|
#
9b398fa5 |
| 07-Sep-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: rename fence->scheduler to sched v2
Just to be consistent with the other members.
v2: rename the ring member as well.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed
drm/amdgpu: rename fence->scheduler to sched v2
Just to be consistent with the other members.
v2: rename the ring member as well.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> (v1) Reviewed-by: Chunming Zhou<david1.zhou@amd.com>
show more ...
|
#
8221d706 |
| 02-Sep-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: partially revert "modify amdgpu_fence_wait_any() to amdgpu_fence_wait_multiple()" v2
That isn't used any more.
v2: rebase
Signed-off-by: Christian König <christian.koenig@amd.com> Revi
drm/amdgpu: partially revert "modify amdgpu_fence_wait_any() to amdgpu_fence_wait_multiple()" v2
That isn't used any more.
v2: rebase
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
Revision tags: v4.2 |
|
#
113cd9da |
| 25-Aug-2015 |
Junwei Zhang <Jerry.Zhang@amd.com> |
drm/amdgpu: adjust the judgement of removing fence callback
The fence in the array may be skipped if wait_all is false, thus the related callback is not initialized with list head. So removing this
drm/amdgpu: adjust the judgement of removing fence callback
The fence in the array may be skipped if wait_all is false, thus the related callback is not initialized with list head. So removing this kind callback will cause NULL pointer reference.
Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
show more ...
|
Revision tags: v4.2-rc8 |
|
#
f38fdfdd |
| 23-Aug-2015 |
Chunming Zhou <david1.zhou@amd.com> |
drm/amdgpu: add priv data to sched
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian K?nig <christian.koenig@amd.com>
|
#
69f7dd65 |
| 20-Aug-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove unused parameters to amd_sched_create
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
|
#
4ce9891e |
| 19-Aug-2015 |
Chunming Zhou <david1.zhou@amd.com> |
drm/amdgpu: improve sa_bo->fence by kernel fence
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian K?nig <christian.koenig@amd.com>
|
#
1aa4051b |
| 19-Aug-2015 |
Junwei Zhang <Jerry.Zhang@amd.com> |
drm/amdgpu: modify amdgpu_fence_wait_any() to amdgpu_fence_wait_multiple()
Rename the function and update the related code with this modified function. Add the new parameter of bool wait_all.
If wa
drm/amdgpu: modify amdgpu_fence_wait_any() to amdgpu_fence_wait_multiple()
Rename the function and update the related code with this modified function. Add the new parameter of bool wait_all.
If wait_all is true, it will return when all fences are signaled or timeout. If wait_all is false, it will return when any fence is signaled or timeout.
Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: Monk Liu <monk.liu@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
show more ...
|
Revision tags: v4.2-rc7, v4.2-rc6 |
|
#
00d2a2b2 |
| 07-Aug-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: cleanup amdgpu_fence_ring_wait_seq
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
|
#
68ed3de4 |
| 07-Aug-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove duplicate amdgpu_fence_process implementation
Looks like that somehow got missed while during porting the radeon changes.
Signed-off-by: Christian König <christian.koenig@amd.com
drm/amdgpu: remove duplicate amdgpu_fence_process implementation
Looks like that somehow got missed while during porting the radeon changes.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
#
02bc0650 |
| 07-Aug-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove amdgpu_fence_wait
It was just a wrapper for fence_wait anyway.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
|
#
3cdb8119 |
| 06-Aug-2015 |
Christian König <christian.koenig@amd.com> |
drm/amdgpu: remove amdgpu_fence_signaled
The common kernel function does the same thing.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.c
drm/amdgpu: remove amdgpu_fence_signaled
The common kernel function does the same thing.
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
#
7484667c |
| 03-Aug-2015 |
Chunming Zhou <david1.zhou@amd.com> |
drm/amdgpu: move sched job process from isr to fence callback
This way can avoid interrupt lost, and can process sched job exactly.
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: J
drm/amdgpu: move sched job process from isr to fence callback
This way can avoid interrupt lost, and can process sched job exactly.
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
show more ...
|