mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
drm/amdgpu:minor cleanup
Signed-off-by: Monk Liu <Monk.Liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
bffa2280ba
commit
2da4da3cbe
1 changed files with 1 additions and 4 deletions
|
|
@ -4872,10 +4872,7 @@ static int gfx_v8_0_kiq_init_queue(struct amdgpu_ring *ring,
|
|||
struct amdgpu_device *adev = ring->adev;
|
||||
struct amdgpu_kiq *kiq = &adev->gfx.kiq;
|
||||
uint64_t eop_gpu_addr;
|
||||
bool is_kiq = false;
|
||||
|
||||
if (ring->funcs->type == AMDGPU_RING_TYPE_KIQ)
|
||||
is_kiq = true;
|
||||
bool is_kiq = (ring->funcs->type == AMDGPU_RING_TYPE_KIQ);
|
||||
|
||||
if (is_kiq) {
|
||||
eop_gpu_addr = kiq->eop_gpu_addr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue