lkml.org 
[lkml]   [2018]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 29/43] drm/sun4i: Make pitch even for GEM dumb alloc as per hardware constraint
    On Fri, Nov 23, 2018 at 10:25:01AM +0100, Paul Kocialkowski wrote:
    > Our hardware requires the pitch to be an even number when using YUV
    > formats with the frontend. Implement a driver-specific callback for GEM
    > dumb allocation that sets the pitch accordingly.
    >
    > Since only the bpp is passed (and not the format), we cannot really
    > distinguish if this alignment is really required. Since it doesn't hurt
    > to align the pitch anyway, always do it.
    >
    > Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>

    Applied, thanks!
    Maxime

    --
    Maxime Ripard, Bootlin
    Embedded Linux and Kernel engineering
    https://bootlin.com
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2018-11-27 10:03    [W:3.497 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site