drm/amd/display: Refactor SubVP calculation to remove FPU
Refactor calculation to remove floating point operations from dmub_srv. To ensure that 32-bit compilation works well, we use the div64 family of macros to do integer division for SubVP-related timing parameters. Cc: Maíra Canal <mairacanal@riseup.net> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Isabella Basso <isabbasso@riseup.net> Cc: Magali Lemes <magalilemes00@gmail.com> Tested-by: NDaniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: NSamson Tam <Samson.Tam@amd.com> Acked-by: NTom Chung <chiahsuan.chung@amd.com> Signed-off-by: NAlvin Lee <alvin.lee2@amd.com> Co-developed-by: NAurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: NAurabindo Pillai <aurabindo.pillai@amd.com> Co-developed-by: NRodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: NRodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录