drm/amdkfd: correct pipe offset calculation
authorJiansong Chen <Jiansong.Chen@amd.com>
Wed, 9 Dec 2020 11:43:44 +0000 (19:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Dec 2020 21:41:49 +0000 (16:41 -0500)
commit0d801007f90ec023aefc1da19529bf9985050227
tree7f4b4778d29a8ef93ee374b4846b986fa97972fd
parent0269764a731bba0b5b1afb134abab702fbde1f04
drm/amdkfd: correct pipe offset calculation

Correct pipe offset calculation in is_pipe_enabled function,
it should be done in queues.

Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c