diff options
| author | Jack Xiao <[email protected]> | 2019-01-18 10:13:36 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-01-25 21:15:35 +0000 |
| commit | c4c905ec7b8aaeb06331ee875d3cc9b73dfa481f (patch) | |
| tree | 109c55c019d77d12fbae3e71e584f147349a05d0 /drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | |
| parent | drm/amd/powerplay: OD setting fix on Vega10 (diff) | |
| download | kernel-c4c905ec7b8aaeb06331ee875d3cc9b73dfa481f.tar.gz kernel-c4c905ec7b8aaeb06331ee875d3cc9b73dfa481f.zip | |
drm/amdgpu: add flags to emit_ib interface v2
Replace the last bool type parameter with a general flags parameter,
to make the last parameter be able to contain more information.
v2: drop setting need_ctx_switch = false
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Jack Xiao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vce_v4_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v4_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v4_0.c index 9fb34b7d8e03..aadc3e66ebd7 100644 --- a/drivers/gpu/drm/amd/amdgpu/vce_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vce_v4_0.c @@ -947,7 +947,7 @@ static int vce_v4_0_set_powergating_state(void *handle, #endif static void vce_v4_0_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job, - struct amdgpu_ib *ib, bool ctx_switch) + struct amdgpu_ib *ib, uint32_t flags) { unsigned vmid = AMDGPU_JOB_GET_VMID(job); |
