[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMpxmJV_NfxCmT=yR3Mk5BvGOdPOXVHhFsRwzPU=itqDms8cnQ@mail.gmail.com>
Date: Mon, 24 Oct 2016 11:14:17 +0200
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
To: Jyri Sarha <jsarha@...com>, Tomi Valkeinen <tomi.valkeinen@...com>,
David Airlie <airlied@...ux.ie>,
Kevin Hilman <khilman@...libre.com>,
Michael Turquette <mturquette@...libre.com>,
Sekhar Nori <nsekhar@...com>
Cc: LKML <linux-kernel@...r.kernel.org>,
linux-drm <dri-devel@...ts.freedesktop.org>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Peter Ujfalusi <peter.ujfalusi@...com>,
Bartosz Golaszewski <bgolaszewski@...libre.com>
Subject: Re: [PATCH v2] drm: tilcdc: implement palette loading for rev1
2016-10-24 10:43 GMT+02:00 Bartosz Golaszewski <bgolaszewski@...libre.com>:
> Revision 1 of the IP doesn't work if we don't load the palette (even
> if it's not used, which is the case for the RGB565 format).
>
> Add a function called from tilcdc_crtc_enable() which performs all
> required actions if we're dealing with a rev1 chip.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
> ---
> v1 -> v2:
> - only allocate dma memory for revision 1
>
Superseded by v3.
Sorry for the noise, but I only noticed that a resource managed
version of dma_alloc_coherent() exists after having sent out v2. This
simplifies the code a bit.
Thanks,
Bartosz
Powered by blists - more mailing lists