No, the problem is the function pointer analysis.
In other words the KIQ ring is sometimes used in atomic and even interrupt context.
But the UVD ring is never used in atomic context.
But I don't see a way a static analysis could ever figure that out.
Regards,
Christian.
Am 15.09.2018 11:18 schrieb Jia-Ju Bai <baijiaju1990@xxxxxxxxx>:
Sorry, I am still not clear why the call chain I proposed is incorrect...
I find a conditional in amdgpu_mm_wreg(): if (!(acc_flags & AMDGPU_REGS_NO_KIQ) && amdgpu_sriov_runtime(adev)) return amdgpu_virt_kiq_wreg(adev, reg, v); Is amdgpu_virt_kiq_wreg() never called from WREG32() or RREG32()? Best wishes, Jia-Ju Bai On 2018/9/15 17:10, Koenig, Christian wrote:
|
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel