Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Subject
: Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
From
: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Date
: Sun, 12 May 2024 07:46:58 +0300
Cc
: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>, mchehab@xxxxxxxxxx, hverkuil-cisco@xxxxxxxxx, linux-media@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, benjamin.gaignard@xxxxxxxxxxxxx, sebastian.fricke@xxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxx, jani.nikula@xxxxxxxxx, p.zabel@xxxxxxxxxxxxxx, airlied@xxxxxxxxx, daniel@xxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, laurent.pinchart@xxxxxxxxxxxxxxxx, praneeth@xxxxxx, nm@xxxxxx, vigneshr@xxxxxx, a-bhatia1@xxxxxx, j-luthra@xxxxxx, b-brnich@xxxxxx, detheridge@xxxxxx, p-mantena@xxxxxx, vijayp@xxxxxx, andrzej.p@xxxxxxxxxxxxx, nicolas@xxxxxxxxxxxx
In-reply-to
: <
7214a8b5-16d4-42a1-868e-9574c506be85@ti.com
>
References
: <
20240509183952.4064331-1-devarsht@ti.com
> <
Zj42vTpyH71TWeTk@smile.fi.intel.com
> <
7214a8b5-16d4-42a1-868e-9574c506be85@ti.com
>
I think roundup(x, 1 << n) is more readable.
Follow-Ups
:
Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
From:
Andy Shevchenko
References
:
[PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
From:
Devarsh Thakkar
Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
From:
Andy Shevchenko
Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
From:
Devarsh Thakkar
Prev by Date:
Re: [PATCH v2] docs: document python version used for compilation
Next by Date:
[PATCH v3 0/2] drm/msm/a6xx: request memory region
Previous by thread:
Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
Next by thread:
Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2
Index(es):
Date
Thread
[Index of Archives]
[Linux DRI Users]
[Linux Intel Graphics]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Yosemite News]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Linux Kernel]
[Linux SCSI]
[XFree86]