Re: [Mesa-dev] [PATCH] nir/lower_tex: Fix the channel ordering during conversion of AYUV images

2019-01-15 Thread Vivek Kasireddy
buffers (which I assumed were AYUV) should have displayed correctly as well. -Vivek > > > > - > > Lionel > > > > On 15/01/2019 00:49, Vivek Kasireddy wrote: > >> From: "Kasireddy, Vivek" > >> > >> The channel ordering should be

Re: [Mesa-dev] [PATCH] nir/lower_tex: Fix the channel ordering during conversion of AYUV images

2019-01-15 Thread Vivek Kasireddy
refers to as V4L2_PIX_FMT_YUV32 with code YUV4 is the same as AYUV. I am guessing the best way to fix this is to add a new AYUV format to V4L that reverses the channel ordering? -Vivek > > On 15/01/2019 00:49, Vivek Kasireddy wrote: > > From: "Kasireddy, Vivek" > > > &g

[Mesa-dev] [PATCH] nir/lower_tex: Fix the channel ordering during conversion of AYUV images

2019-01-14 Thread Vivek Kasireddy
rs display as expected. CC: Lionel Landwerlin CC: Tapani Palli Signed-off-by: Vivek Kasireddy --- src/compiler/nir/nir_lower_tex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/nir/nir_lower_tex.c b/src/compiler/nir/nir_lower_tex.c index a618b86b34c..7

Re: [Mesa-dev] [PATCH 1/3] dri_interface: Introduce __DRI_IMAGE_USE_SCANOUT_ROTATION_* flags (v3)

2015-11-30 Thread Vivek Kasireddy
On Thu, 26 Nov 2015 16:44:20 +0900 Michel Dänzer <mic...@daenzer.net> wrote: > On 26.11.2015 11:01, Vivek Kasireddy wrote: > > On Wed, 25 Nov 2015 18:38:50 +0900 > > Michel Dänzer <mic...@daenzer.net> wrote: > > > >> On 21.11.2015 12:38, Vivek Kasi

Re: [Mesa-dev] [PATCH 1/3] dri_interface: Introduce __DRI_IMAGE_USE_SCANOUT_ROTATION_* flags (v3)

2015-11-25 Thread Vivek Kasireddy
On Wed, 25 Nov 2015 18:38:50 +0900 Michel Dänzer <mic...@daenzer.net> wrote: > On 21.11.2015 12:38, Vivek Kasireddy wrote: > > These flags can be used by the DRI driver to set additional > > requirements such as tiling while creating buffers. > > > > v2:

[Mesa-dev] [PATCH 3/3] gbm: Add new flags to enable creation of rotated scanout buffers (v5)

2015-11-20 Thread Vivek Kasireddy
) v3: Combine all GBM_BO_USE_SCANOUT_ROTATION_* flags into GBM_BO_USE_SCANOUT_ANY macro (Michel) v4: Added a brief comment to explain the rotation orientation. v5: Corrected a typo in the comment added in v4. Cc: Michel Danzer <mic...@daenzer.net> Signed-off-by: Vivek Kasireddy <viv

[Mesa-dev] [PATCH 1/3] dri_interface: Introduce __DRI_IMAGE_USE_SCANOUT_ROTATION_* flags (v3)

2015-11-20 Thread Vivek Kasireddy
net> Signed-off-by: Vivek Kasireddy <vivek.kasire...@intel.com> --- include/GL/internal/dri_interface.h | 8 1 file changed, 8 insertions(+) diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 6bbd3fa..2fba46f 100644 --- a/include

[Mesa-dev] [PATCH 2/3] gbm: Introduce a helper function gbm_to_dri_flag()

2015-11-20 Thread Vivek Kasireddy
Pull the code that updates the variable dri_use based on the GBM flags into this helper function. Cc: Michel Danzer <mic...@daenzer.net> Signed-off-by: Vivek Kasireddy <vivek.kasire...@intel.com> --- src/gbm/backends/dri/gbm_dri.c | 25 +++-- 1 file changed, 1

[Mesa-dev] [PATCH] dri_interface: Introduce __DRI_IMAGE_USE_SCANOUT_ROTATION_* flags (v3)

2015-11-20 Thread Vivek Kasireddy
net> Signed-off-by: Vivek Kasireddy <vivek.kasire...@intel.com> --- include/GL/internal/dri_interface.h | 8 1 file changed, 8 insertions(+) diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 6bbd3fa..2fba46f 100644 --- a/include

Re: [Mesa-dev] [PATCH 2/2] gbm: Add flags to enable creation of rotated scanout buffers (v3)

2015-11-13 Thread Vivek Kasireddy
Hi Michel, Do you have any further comments/suggestions on this patch? Thanks and Regards, Vivek On Fri, 6 Nov 2015 18:56:13 +0900 Michel Dänzer <mic...@daenzer.net> wrote: > On 06.11.2015 12:08, Vivek Kasireddy wrote: > > For certain platforms that support rotated

[Mesa-dev] [PATCH 1/2] dri_interface: Introduce __DRI_IMAGE_USE_SCANOUT_ROTATION_* flags (v2)

2015-11-06 Thread Vivek Kasireddy
These flags can be used by the DRI driver to set additional requirements such as tiling while creating buffers. v2: Added a brief comment to explain the rotation orientation. Cc: Michel Danzer <mic...@daenzer.net> Signed-off-by: Vivek Kasireddy <vivek.kasire...@intel.com> ---

[Mesa-dev] [PATCH 2/2] gbm: Add flags to enable creation of rotated scanout buffers (v4)

2015-11-06 Thread Vivek Kasireddy
gbm_to_dri_flag() introduced in v3 to handle GBM_BO_USE_CURSOR and GBM_BO_USE_LINEAR as well. (Michel) Cc: Michel Danzer <mic...@daenzer.net> Cc: Ville Syrjala <ville.syrj...@linux.intel.com> Signed-off-by: Vivek Kasireddy <vivek.kasire...@intel.com> --- src/gbm/backends/

Re: [Mesa-dev] [PATCH] gbm: Add a flag to enable creation of rotated scanout buffers (v2)

2015-11-05 Thread Vivek Kasireddy
On Thu, 5 Nov 2015 15:34:27 +0900 Michel Dänzer <mic...@daenzer.net> wrote: > On 05.11.2015 11:32, Vivek Kasireddy wrote: > > For certain platforms that support rotated scanout buffers, > > currently, there is no way to create them with the GBM DRI > > interface. This

[Mesa-dev] [PATCH 2/2] gbm: Add flags to enable creation of rotated scanout buffers (v3)

2015-11-05 Thread Vivek Kasireddy
; Signed-off-by: Vivek Kasireddy <vivek.kasire...@intel.com> --- src/gbm/backends/dri/gbm_dri.c | 26 -- src/gbm/main/gbm.h | 11 +++ 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_d

[Mesa-dev] [PATCH 1/2] dri_interface: Introduce __DRI_IMAGE_USE_SCANOUT_ROTATION_* flags

2015-11-05 Thread Vivek Kasireddy
These flags can be used by the DRI driver to set additional requirements such as tiling while creating buffers. Cc: Michel Danzer <mic...@daenzer.net> Signed-off-by: Vivek Kasireddy <vivek.kasire...@intel.com> --- include/GL/internal/dri_interface.h | 3 +++ 1 file changed, 3 inserti

[Mesa-dev] [PATCH] gbm: Add a flag to enable creation of rotated scanout buffers (v2)

2015-11-04 Thread Vivek Kasireddy
: Michel Danzer <mic...@daenzer.net> Cc: Ville Syrjala <ville.syrj...@linux.intel.com> Signed-off-by: Vivek Kasireddy <vivek.kasire...@intel.com> --- include/GL/internal/dri_interface.h | 3 +++ src/gbm/backends/dri/gbm_dri.c | 19 +-- src/gbm/main/gbm.h

Re: [Mesa-dev] [PATCH 1/2] gbm: Add a flag to enable creation of rotated scanout buffers

2015-10-23 Thread Vivek Kasireddy
On Fri, 23 Oct 2015 12:18:39 +0900 Michel Dänzer <mic...@daenzer.net> wrote: > On 23.10.2015 10:44, Vivek Kasireddy wrote: > > For certain platforms that support rotated scanout buffers, > > currently, there is no way to create them with the GBM DRI > > interface. This

Re: [Mesa-dev] [PATCH 2/2] i965: Set Y-tiling for qualified rotated scanout buffers

2015-10-23 Thread Vivek Kasireddy
On Thu, 22 Oct 2015 21:12:02 -0700 Ben Widawsky <b...@bwidawsk.net> wrote: > On Thu, Oct 22, 2015 at 06:44:53PM -0700, Vivek Kasireddy wrote: > > On newer hardware platforms that support rotation, if the gbm > > interface requests to create a rotated scanout bu

Re: [Mesa-dev] [PATCH 1/2] gbm: Add a flag to enable creation of rotated scanout buffers

2015-10-23 Thread Vivek Kasireddy
On Fri, 23 Oct 2015 15:29:08 +0300 Ville Syrjälä <ville.syrj...@linux.intel.com> wrote: > On Fri, Oct 23, 2015 at 12:18:39PM +0900, Michel Dänzer wrote: > > On 23.10.2015 10:44, Vivek Kasireddy wrote: > > > For certain platforms that support rotated scanout

[Mesa-dev] [PATCH 2/2] i965: Set Y-tiling for qualified rotated scanout buffers

2015-10-22 Thread Vivek Kasireddy
On newer hardware platforms that support rotation, if the gbm interface requests to create a rotated scanout buffer via the flag __DRI_IMAGE_USE_SCANOUT_ROTATED_90_270, set Y-tiling while creating the buffer. Cc: Kristian Hogsberg <k...@bitplanet.net> Signed-off-by: Vivek Kasireddy <viv

[Mesa-dev] [PATCH 1/2] gbm: Add a flag to enable creation of rotated scanout buffers

2015-10-22 Thread Vivek Kasireddy
For certain platforms that support rotated scanout buffers, currently, there is no way to create them with the GBM DRI interface. This flag will instruct the DRI driver to create the buffer by setting additional requirements. Cc: Kristian Hogsberg <k...@bitplanet.net> Signed-off-by:

[Mesa-dev] [PATCH] gbm: Add a flag to enable creation of rotated scanout buffers

2015-10-21 Thread Vivek Kasireddy
For certain platforms that support rotated scanout buffers, currently, there is no way to create them with the GBM DRI interface. This flag will tell the DRI driver to set Y-tiling while creating the rotated scanout buffer. Cc: Kristian Hogsberg <k...@bitplanet.net> Signed-off-by: Vivek Kas

[Mesa-dev] [PATCH] gbm: Add a flag to enable creation of rotated scanout buffers

2015-09-11 Thread Vivek Kasireddy
For certain platforms that support rotated scanout buffers, currently, there is no way to create them with the GBM DRI interface. This flag will tell the DRI driver to set Y-tiling while creating the rotated scanout buffer. Cc: Matthew D Roper <matthew.d.ro...@intel.com> Signed-off-by:

[Mesa-dev] [PATCH] i965: Move need_throttle and first_post_swapbuffers_batch into the renderbuffer

2015-03-05 Thread Vivek Kasireddy
would no longer be throttled by other surface's swapbuffers thereby leading to better performance. Signed-off-by: Vivek Kasireddy vivek.kasire...@intel.com --- src/mesa/drivers/dri/i965/brw_context.c | 48 +++-- src/mesa/drivers/dri/i965/brw_context.h |5 --- src

[Mesa-dev] [PATCH] i965: Move first_post_swapbuffers_batch from the context into the renderbuffer (v2)

2014-12-20 Thread Vivek Kasireddy
would no longer be throttled by other surface's swapbuffers thereby leading to better performance. v2: Unref both the front and back renderbuffers inside intelDestroyContext to address situations where applications switch rendering to back and front buffers back and forth. Signed-off-by: Vivek