[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200821155650.GB300361@ravnborg.org>
Date: Fri, 21 Aug 2020 17:56:50 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Neil Armstrong <narmstrong@...libre.com>,
Xinliang Liu <xinliang.liu@...aro.org>,
Wanchun Zheng <zhengwanchun@...ilicon.com>,
linuxarm@...wei.com, dri-devel <dri-devel@...ts.freedesktop.org>,
Andrzej Hajda <a.hajda@...sung.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
devel@...verdev.osuosl.org, Daniel Borkmann <daniel@...earbox.net>,
John Fastabend <john.fastabend@...il.com>,
Xiubin Zhang <zhangxiubin1@...wei.com>,
Wei Xu <xuwei5@...ilicon.com>, David Airlie <airlied@...ux.ie>,
Xinwei Kong <kong.kongxinwei@...ilicon.com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Bogdan Togorean <bogdan.togorean@...log.com>,
Laurentiu Palcu <laurentiu.palcu@....com>,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
Liwei Cai <cailiwei@...ilicon.com>,
Jesper Dangaard Brouer <hawk@...nel.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Chen Feng <puck.chen@...ilicon.com>,
Alexei Starovoitov <ast@...nel.org>,
linaro-mm-sig@...ts.linaro.org, Rob Herring <robh+dt@...nel.org>,
Jakub Kicinski <kuba@...nel.org>, mauro.chehab@...wei.com,
Rob Clark <robdclark@...omium.org>,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Liuyao An <anliuyao@...wei.com>,
Rongrong Zou <zourongrong@...il.com>, bpf@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 00/49] DRM driver for Hikey 970
Hi Mauro.
On Fri, Aug 21, 2020 at 04:41:58PM +0200, Mauro Carvalho Chehab wrote:
> Another quick question:
>
> Em Wed, 19 Aug 2020 19:35:58 +0200
> Sam Ravnborg <sam@...nborg.org> escreveu:
>
> > > +#define DSS_REDUCE(x) ((x) > 0 ? ((x) - 1) : (x))
> > Use generic macros for this?
>
> Do you know a generic macro similar to this? Or do you mean adding
> it to include/kernel.h?
It looked like something there should be a macro for.
But I do not know one.
And no, do not try to go the kernel.h route on this.
At least not until you see more than one user.
Sam
Powered by blists - more mailing lists