mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
drm/amdgpu/gfx12: update mqd init for UQ
Set the addresses for the UQ metadata. V2: Fix lower address mask (Shashank) V3: Use lower_32_bits() for MQD objects (Alex) Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Shashank Sharma <shashank.sharma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -3027,6 +3027,12 @@ static int gfx_v12_0_gfx_mqd_init(struct amdgpu_device *adev, void *m,
|
||||
/* active the queue */
|
||||
mqd->cp_gfx_hqd_active = 1;
|
||||
|
||||
/* set gfx UQ items */
|
||||
mqd->shadow_base_lo = lower_32_bits(prop->shadow_addr);
|
||||
mqd->shadow_base_hi = upper_32_bits(prop->shadow_addr);
|
||||
mqd->fw_work_area_base_lo = lower_32_bits(prop->csa_addr);
|
||||
mqd->fw_work_area_base_hi = upper_32_bits(prop->csa_addr);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user