Re: [PATCH 2/2] drm/amd/display: Protect dml2_validate() from its callers

2025-03-19 Thread Alex Hung
Please see comments for patch 1. On 3/18/25 05:17, Huacai Chen wrote: Similar to dml2_create()/dml2_copy()/dml2_create_copy(), dml2_validate() should also be protected from its callers because "All the DC_FP_START/END should be used before call anything from DML2". So protect dml2_validate() wi

[PATCH 2/2] drm/amd/display: Protect dml2_validate() from its callers

2025-03-18 Thread Huacai Chen
Similar to dml2_create()/dml2_copy()/dml2_create_copy(), dml2_validate() should also be protected from its callers because "All the DC_FP_START/END should be used before call anything from DML2". So protect dml2_validate() with DC_FP_START() and DC_FP_END(), otherwise it causes such errors: do_f