drm/amdgpu/mes: initialize mqd from queue properties
authorJack Xiao <Jack.Xiao@amd.com>
Wed, 1 Jul 2020 06:58:46 +0000 (14:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:51 +0000 (10:43 -0400)
commit5fa963d0fc358766adb6c12f0eafe81b2735fc17
tree6e7ad7c049e835d4f678859f719461ddacdf92ee
parentea756bd5cc675b8dfb2be4069c620302200ecc2f
drm/amdgpu/mes: initialize mqd from queue properties

Add helper function to initialize mqd from queue properties.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c