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

2019-01-15 Thread Vivek Kasireddy
V4 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

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

2019-01-15 Thread Vivek Kasireddy
rmat it 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" > &

[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 wrote: > On 26.11.2015 11:01, Vivek Kasireddy wrote: > > On Wed, 25 Nov 2015 18:38:50 +0900 > > Michel Dänzer wrote: > > > >> On 21.11.2015 12:38, Vivek Kasireddy wrote: > >>> These flags can b

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 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: Added a brief comment to expla

[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 Signed-off-by: Vivek Kasireddy --- src/gbm/backends/dri/gbm_dri.c

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

2015-11-20 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. v3: Corrected a typo in the comment added in v2 and removed an empty line. Cc: Michel Danzer Signed-off-by: Vivek

[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 Signed-off-by: Vivek Kasireddy --- src/gbm/backends/dri/gbm_dri.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/gbm/backends

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

2015-11-20 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. v3: Corrected a typo in the comment added in v2 and removed an empty line. Cc: Michel Danzer Signed-off-by: Vivek

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 wrote: > On 06.11.2015 12:08, Vivek Kasireddy wrote: > > For certain platforms that support rotated scanout buffers, > > currently,

[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 Cc: Ville Syrjala Signed-off-by: Vivek Kasireddy --- src/gbm/backends/dri/gbm_dri.c | 35 +++ src/gbm/main/gbm.h | 15 +++ 2

[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 Signed-off-by: Vivek Kasireddy --- include/GL/internal/dri_interface.h | 9 + 1 file changed

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

2015-11-05 Thread Vivek Kasireddy
) v3: - Combine all GBM_BO_USE_SCANOUT_ROTATION_* flags into GBM_BO_USE_SCANOUT_ANY macro (Michel) - Pull the code that updates dri_use based on the rotation flag into a separate function. Cc: Michel Danzer Cc: Ville Syrjala Signed-off-by: Vivek Kasireddy --- src/gbm/backends/dri/gbm_dri.c

[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 Signed-off-by: Vivek Kasireddy --- include/GL/internal/dri_interface.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/GL/internal/dri_interface.h b

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 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 flag will instruct the DRI

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

2015-11-04 Thread Vivek Kasireddy
: Michel Danzer Cc: Ville Syrjala Signed-off-by: Vivek Kasireddy --- include/GL/internal/dri_interface.h | 3 +++ src/gbm/backends/dri/gbm_dri.c | 19 +-- src/gbm/main/gbm.h | 7 +++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a

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ä 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 buffers, > > > currently, there is no way

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 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 buffer v

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 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 flag will instruct the DRI

[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 Signed-off-by: Vivek Kasireddy --- include/GL

[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 Signed-off-by: Vivek Kasireddy --- src/mesa/drivers/dri/i965

[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 Signed-off-by: Vivek Kasireddy --- include/GL

[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 Signed-off-by: Vivek Kasireddy --- include/GL

[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 --- src/mesa/drivers/dri/i965/brw_context.c | 48 +++-- src/mesa/drivers/dri/i965/brw_context.h |5 --- src/mesa/drivers/dri

[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: