]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fixed raven psp cmd prepare and submit
authorEvan Quan <evan.quan@amd.com>
Mon, 4 Sep 2017 09:42:28 +0000 (17:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:29:48 +0000 (14:29 -0400)
commitf1ac0fc2f2355495628a45e90cbd88e3d2c40ef9
treeac9c62aeebccca21158a2fd62215d0ba8a8ad79c
parent9a18999640fa6aed0578c59c328dca9ca01a2d9a
drm/amdgpu: fixed raven psp cmd prepare and submit

- fw_size in psp_v10_0_prep_cmd_buf is wrongly set as 0
- fixed the wrong calculation of psp_write_ptr_reg in psp_v10_0_cmd_submit

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v10_0.c