Re: [PATCH] drm/amd/display: refactor CalculateWriteBackDelay to use vba_vars_st ptr

2022-09-19 Thread MaĆ­ra Canal
Hi Tom Nice to see this patch coming to the DML! Some small nits inline. On 9/17/22 15:37, Tom Rix wrote: > Mimimize the function signature by passing a pointer and an index instead > of passing several elements of the pointer. > > The dml2x,dml3x families uses the same algorithm. Remove the du

[PATCH] drm/amd/display: refactor CalculateWriteBackDelay to use vba_vars_st ptr

2022-09-17 Thread Tom Rix
Mimimize the function signature by passing a pointer and an index instead of passing several elements of the pointer. The dml2x,dml3x families uses the same algorithm. Remove the duplicates. Use dml20_ and dml30_ prefix to distinguish the two variants. Signed-off-by: Tom Rix --- .../dc/dml/dcn