[Mesa-dev] how does mesa/kernel control cache ability of render cache

2016-12-08 Thread Weng, Chuanbo
Hi all, I'm interesting in how mesa/kernel control cache ability of render cache. My question is based on SKL platform with console (no-X) environment. We can take kmscube(https://github.com/robclark/kmscube.git) as an example, it use mesa do rendering and use drm

Re: [Mesa-dev] [PATCH v3 0/3] Make eglExportDMABUFImageMESA return corresponding offset.

2016-09-20 Thread Weng, Chuanbo
Ekstrand Cc: Weng, Chuanbo ; Nicolai Hähnle ; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH v3 0/3] Make eglExportDMABUFImageMESA return corresponding offset. On 19 September 2016 at 16:38, Jason Ekstrand wrote: > It all looks fine to me. Feel free to add a > > Re

Re: [Mesa-dev] [PATCH v3 0/3] Make eglExportDMABUFImageMESA return corresponding offset.

2016-09-19 Thread Weng, Chuanbo
/2016-September/128846.html https://lists.freedesktop.org/archives/mesa-dev/2016-September/128844.html And my gmail account also receives these patches. Thanks, Chuanbo Weng -Original Message- From: Nicolai Hähnle [mailto:nhaeh...@gmail.com] Sent: Monday, September 19, 2016 4:53 PM To: Weng, Ch

Re: [Mesa-dev] [PATCH v3 0/3] Make eglExportDMABUFImageMESA return corresponding offset.

2016-09-18 Thread Weng, Chuanbo
Ping for review. Thanks. -Original Message- From: Weng, Chuanbo Sent: Wednesday, September 14, 2016 1:07 AM To: mesa-dev@lists.freedesktop.org; emil.l.veli...@gmail.com Cc: Weng, Chuanbo Subject: [PATCH v3 0/3] Make eglExportDMABUFImageMESA return corresponding offset. This patchset

Re: [Mesa-dev] [Mesa-stable] [PATCH] gbm: fix potential NULL deref of mapImage/unmapImage.

2016-09-12 Thread Weng, Chuanbo
Ping for review. -Original Message- From: mesa-stable [mailto:mesa-stable-boun...@lists.freedesktop.org] On Behalf Of Chuanbo Weng Sent: Tuesday, September 6, 2016 5:29 PM To: mesa-dev@lists.freedesktop.org; emil.l.veli...@gmail.com Cc: mesa-sta...@lists.freedesktop.org; Weng, Chuanbo

Re: [Mesa-dev] [PATCH v2 2/3] egl: return corresponding offset of EGLImage instead of 0.

2016-09-11 Thread Weng, Chuanbo
ehalf Of Axel Davy Sent: Saturday, September 10, 2016 5:03 AM To: Weng, Chuanbo ; Emil Velikov Cc: ML mesa-dev Subject: Re: [Mesa-dev] [PATCH v2 2/3] egl: return corresponding offset of EGLImage instead of 0. I'm not sure calling queryImage with an unsupported attribute is legal, thus

Re: [Mesa-dev] [PATCH v2 2/3] egl: return corresponding offset of EGLImage instead of 0.

2016-09-09 Thread Weng, Chuanbo
f(ret == true) offsets[0] = img_offset; } return EGL_TRUE; Emil, is it right? -Original Message- From: Emil Velikov [mailto:emil.l.veli...@gmail.com] Sent: Friday, September 9, 2016 8:32 PM To: Weng, Chuanbo Cc: ML mesa-dev ; Axel Davy Subject: Re: [PATCH v2 2/3] egl: return correspond

Re: [Mesa-dev] [PATCH 2/3] egl: return corresponding offset of EGLImage instead of 0.

2016-09-08 Thread Weng, Chuanbo
From: mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] On Behalf Of Axel Davy Sent: Friday, September 9, 2016 2:12 PM To: Weng, Chuanbo ; mesa-dev@lists.freedesktop.org; emil.l.veli...@gmail.com Subject: Re: [Mesa-dev] [PATCH 2/3] egl: return corresponding offset of EGLImage instead

Re: [Mesa-dev] [PATCH 2/3] egl: return corresponding offset of EGLImage instead of 0.

2016-09-08 Thread Weng, Chuanbo
Hi Axel and Emil, Thanks Axel for your review. Please see my comments below. -Original Message- From: Axel Davy [mailto:axel.d...@ens.fr] Sent: Friday, September 9, 2016 1:25 AM To: Weng, Chuanbo ; mesa-dev@lists.freedesktop.org; emil.l.veli...@gmail.com Subject: Re: [Mesa-dev

Re: [Mesa-dev] [Mesa-stable] [PATCH] gbm: fix potential NULL deref of mapImage/unmapImage.

2016-09-06 Thread Weng, Chuanbo
5:29 PM To: mesa-dev@lists.freedesktop.org; emil.l.veli...@gmail.com Cc: mesa-sta...@lists.freedesktop.org; Weng, Chuanbo Subject: [Mesa-stable] [PATCH] gbm: fix potential NULL deref of mapImage/unmapImage. The mapImage/unmapImage functions of DRIimage extension can be NULL, so we should add

Re: [Mesa-dev] [PATCH v2] egl: return corresponding offset of EGLImage instead of 0.

2016-09-06 Thread Weng Chuanbo
Hi Emil, I have split out patches and sent out the patches. Please review them. Thanks! 2016-09-06 11:03 GMT+08:00 Weng Chuanbo : > Got it. Thanks for your patient explanation! > > 2016-09-06 1:14 GMT+08:00 Emil Velikov : > >> On 5 September 2016 at 17:21, Weng

Re: [Mesa-dev] [PATCH v2] egl: return corresponding offset of EGLImage instead of 0.

2016-09-05 Thread Weng Chuanbo
Got it. Thanks for your patient explanation! 2016-09-06 1:14 GMT+08:00 Emil Velikov : > On 5 September 2016 at 17:21, Weng Chuanbo wrote: > > > [Chuanbo] Could you explain " we want these NULL checks split out > > and ported to older loader " more detail

Re: [Mesa-dev] [PATCH v2] egl: return corresponding offset of EGLImage instead of 0.

2016-09-05 Thread Weng Chuanbo
ehalf Of Emil Velikov Sent: Wednesday, August 31, 2016 1:57 AM To: Weng, Chuanbo Cc: ML mesa-dev Subject: Re: [Mesa-dev] [PATCH v2] egl: return corresponding offset of EGLImage instead of 0. On 30 August 2016 at 18:39, Weng, Chuanbo wrote: > Hi Emil, > Thanks for

Re: [Mesa-dev] [PATCH v2] egl: return corresponding offset of EGLImage instead of 0.

2016-08-30 Thread Weng, Chuanbo
Hi Emil, Thanks for your review! Please see my comments and questions below. -Original Message- From: mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] On Behalf Of Emil Velikov Sent: Tuesday, August 30, 2016 6:29 PM To: Weng, Chuanbo Cc: ML mesa-dev Subject: Re

Re: [Mesa-dev] [PATCH v2] egl: return corresponding offset of EGLImage instead of 0.

2016-08-29 Thread Weng, Chuanbo
Hi Dave and all, This version is based on Dave's review comments. Could you please review it? Thanks! -Original Message- From: Weng, Chuanbo Sent: Friday, August 26, 2016 1:51 AM To: mesa-dev@lists.freedesktop.org; airl...@gmail.com Cc: emil.l.veli...@gmail.com;

Re: [Mesa-dev] [PATCH v2] egl: return corresponding offset of EGLImage instead of 0.

2016-08-25 Thread Weng, Chuanbo
.veli...@gmail.com; Weng, Chuanbo Subject: [Mesa-dev] [PATCH v2] egl: return corresponding offset of EGLImage instead of 0. The offset should not always be 0. For example, if EGLImage is created from a 2D texture with EGL_GL_TEXTURE_LEVEL=1, then the offset should be the actual start of miplevel

Re: [Mesa-dev] [PATCH] Return corresponding offset of EGLImage instead of 0.

2016-08-25 Thread Weng, Chuanbo
Hi Dave, I've sent out v2 patch based on your comments. Could you please review it? Thanks! -Original Message- From: Weng, Chuanbo Sent: Friday, August 19, 2016 4:15 PM To: 'Dave Airlie' Cc: Eric Engestrom ; airl...@redhat.com; emil.l.veli...@gmai

Re: [Mesa-dev] FW: build and run gallium on Intel platform

2016-08-25 Thread Weng, Chuanbo
...@lists.freedesktop.org] On Behalf Of Emil Velikov Sent: Wednesday, August 24, 2016 11:29 PM To: Eric Engestrom Cc: ML mesa-dev ; Weng, Chuanbo Subject: Re: [Mesa-dev] FW: build and run gallium on Intel platform On 24 August 2016 at 15:57, Eric Engestrom wrote: > On Tue, Aug 23, 2016 at 12:48:45PM +0000, W

Re: [Mesa-dev] [PATCH] Return corresponding offset of EGLImage instead of 0.

2016-08-19 Thread Weng, Chuanbo
I think I have understood what you mean. Thanks! I will send out patch v2 based on your suggestion later. Please help to review it. Thanks. -Original Message- From: Dave Airlie [mailto:airl...@gmail.com] Sent: Friday, August 19, 2016 3:31 PM To: Weng, Chuanbo Cc: Eric Engestrom ; airl

Re: [Mesa-dev] [PATCH] Return corresponding offset of EGLImage instead of 0.

2016-08-19 Thread Weng, Chuanbo
Sent: Friday, August 19, 2016 9:47 AM To: Weng, Chuanbo Cc: Eric Engestrom ; airl...@redhat.com; emil.l.veli...@gmail.com; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] Return corresponding offset of EGLImage instead of 0. On 18 August 2016 at 12:59, Weng, Chuanbo wrote: > Hi

Re: [Mesa-dev] [PATCH] Return corresponding offset of EGLImage instead of 0.

2016-08-17 Thread Weng, Chuanbo
-dev-boun...@lists.freedesktop.org] On Behalf Of Eric Engestrom Sent: Monday, August 15, 2016 10:16 PM To: Weng, Chuanbo Cc: mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] Return corresponding offset of EGLImage instead of 0. On Mon, Aug 15, 2016 at 08:48:56PM +0800, Chuanbo Weng