Re: [PATCH] drm/msm/dpu: Add UBWC support for RGB8888 formats

2019-11-07 Thread Daniel Vetter
On Thu, Nov 07, 2019 at 09:30:50AM -0800, Eric Anholt wrote: > Rob Clark writes: > > On Wed, Nov 6, 2019 at 3:26 PM Fritz Koenig wrote: > >> > >> Hardware only natively supports BGR UBWC. > >> UBWC support for RGB can be had by pretending > >> that the buffer is BGR. > > > > Just to expan

Re: [PATCH] drm/msm/dpu: Add UBWC support for RGB8888 formats

2019-11-07 Thread Eric Anholt
Rob Clark writes: > On Wed, Nov 6, 2019 at 3:26 PM Fritz Koenig wrote: >> >> Hardware only natively supports BGR UBWC. >> UBWC support for RGB can be had by pretending >> that the buffer is BGR. > > Just to expand, this aligns with how we handle RGB component order in > mesa for tiled or

Re: [PATCH] drm/msm/dpu: Add UBWC support for RGB8888 formats

2019-11-07 Thread Rob Clark
On Wed, Nov 6, 2019 at 3:26 PM Fritz Koenig wrote: > > Hardware only natively supports BGR UBWC. > UBWC support for RGB can be had by pretending > that the buffer is BGR. Just to expand, this aligns with how we handle RGB component order in mesa for tiled or tiled+ubwc. If uncompressed t

[PATCH] drm/msm/dpu: Add UBWC support for RGB8888 formats

2019-11-06 Thread Fritz Koenig
Hardware only natively supports BGR UBWC. UBWC support for RGB can be had by pretending that the buffer is BGR. Signed-off-by: Fritz Koenig --- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c| 18 ++ .../drm/msm/disp/dpu1/dpu_hw_catalog_format.h | 2 ++ 2 files changed,