Re: [PATCH v3 1/2] drm: Add fixed-point helper to get rounded integer values

2023-05-12 Thread Arthur Grillo Queiroz Cabral
On 12/05/23 07:40, Maíra Canal wrote: > Create a new fixed-point helper to allow us to return the rounded value > of our fixed point value. > > [v2]: > * Create the function drm_fixp2int_round() (Melissa Wen). > [v3]: > * Use drm_fixp2int() instead of shifting manually (Arthur Grillo).

[PATCH v3 1/2] drm: Add fixed-point helper to get rounded integer values

2023-05-12 Thread Maíra Canal
Create a new fixed-point helper to allow us to return the rounded value of our fixed point value. [v2]: * Create the function drm_fixp2int_round() (Melissa Wen). [v3]: * Use drm_fixp2int() instead of shifting manually (Arthur Grillo). Signed-off-by: Maíra Canal ---