Re: [Mesa-dev] [PATCH 1/4] vl/dri: add 10 bits format supports

2018-09-12 Thread Michel Dänzer
On 2018-09-10 10:42 p.m., Leo Liu wrote: > v2: Tell B10G10R10X2 and R10G10B10X2 formats for different HW. > > Signed-off-by: Leo Liu This patch and patch 2 are Reviewed-by: Michel Dänzer -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast

Re: [Mesa-dev] [PATCH 1/4] vl/dri: add 10 bits format supports

2018-09-10 Thread Leo Liu
On 09/10/2018 04:49 PM, Ilia Mirkin wrote: On Mon, Sep 10, 2018 at 4:27 PM, Leo Liu wrote: v2: Tell B10G10R10X2 and R10G10B10X2 formats for different HW. Signed-off-by: Leo Liu --- src/gallium/auxiliary/vl/vl_winsys.h | 5 ++ src/gallium/auxiliary/vl/vl_winsys_dri.c | 69

Re: [Mesa-dev] [PATCH 1/4] vl/dri: add 10 bits format supports

2018-09-10 Thread Ilia Mirkin
On Mon, Sep 10, 2018 at 4:27 PM, Leo Liu wrote: > v2: Tell B10G10R10X2 and R10G10B10X2 formats for different HW. > > Signed-off-by: Leo Liu > --- > src/gallium/auxiliary/vl/vl_winsys.h | 5 ++ > src/gallium/auxiliary/vl/vl_winsys_dri.c | 69 > 2 files changed, 64

Re: [Mesa-dev] [PATCH 1/4] vl/dri: add 10 bits format supports

2018-09-10 Thread Leo Liu
Forget the Patch 1, will re-send shortly. It's ming case 24: +vl_dri2_format_for_depth(struct vl_screen *vscreen, int depth) +{ + switch (depth) { + case 24: + case 30: Leo On 09/10/2018 04:27 PM, Leo Liu wrote: v2: Tell B10G10R10X2 and R10G10B10X2 formats for different HW.