lkml.org 
[lkml]   [2020]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@ravnborg.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

    \
     
     \ /
      Last update: 2020-08-21 17:57    [W:4.034 / U:0.448 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site