[Intel-gfx] [PATCH] lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2()

2016-03-11 Thread Mayuresh Gharpure
oid shadow declaration warning, also removed one unused variable Signed-off-by: Mayuresh Gharpure Signed-off-by: Pratik Vishwakarma Signed-off-by: Mayuresh Gharpure --- lib/igt_kms.c | 289 +- lib/igt_kms.h | 76 ++- 2 fil

[Intel-gfx] [PATCH] lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2()

2016-03-10 Thread Mayuresh Gharpure
for_each_plane_on_pipe (Lionel) Populate properties only if the value has changed Remove the resetting of values in disable case Note : I've used Maarten's diff patch v9: (Lionel) Added resetting of rotation property Signed-off-by: Mayuresh Gharpure Signed-off-

Re: [Intel-gfx] [PATCH i-g-t v7] lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2()

2016-03-09 Thread Mayuresh Gharpure
Hi Lionel, I've incorporated your comments using the diff patch submitted by Maarten and submitted the changes https://patchwork.freedesktop.org/series/4274/ Also, please find my comments inline Regards, Mayuresh On 3/8/2016 9:41 PM, Lionel Landwerlin wrote: Hi Maarten, Yeah that would be

[Intel-gfx] [PATCH] lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2()

2016-03-09 Thread Mayuresh Gharpure
for_each_plane_on_pipe (Lionel) Populate properties only if the value has changed Remove the resetting of values in disable case Note : I've used Maarten's diff patch Signed-off-by: Mayuresh Gharpure Signed-off-by: Pratik Vishwakarma Signed-off-by: Mayures

[Intel-gfx] [PATCH] lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2()

2016-02-04 Thread Mayuresh Gharpure
message in igt_atomic_prepare_plane_commit https://patchwork.freedesktop.org/patch/71945/ v3 : (Marius)Set FB_ID to zero while disabling plane https://patchwork.freedesktop.org/patch/72179/ v4: (Maarten) Corrected the typo in commit message Signed-off-by: Mayuresh Gharpure --- lib

[Intel-gfx] [PATCH] drm/i915: Fix to allow render compression on primary plane of PIPEB

2016-02-03 Thread Mayuresh Gharpure
Currently, a flip with render compression enabled is failing on primary plane of HDMI panel which is driven by PIPEB, this issue is fixed with this patch Change-Id: I197fe61faffad9da58733ed3f0e8cf6ef8640af7 Signed-off-by: Mayuresh Gharpure --- Please note that this patch depends on following

Re: [Intel-gfx] [PATCH] lib/igt_kms: Add COMIT_ATOMIC to igt_display_commit2()

2016-01-31 Thread Mayuresh Gharpure
Vlad wrote: Hi, I still do not see FB_ID set to 0 when disabling the plane in igt_atomic_prepare_plane_commit(). See http://lists.freedesktop.org/archives/intel-gfx/2016-January/085790.html On Fri, Jan 29, 2016 at 02:17:11PM +0530, Mayuresh Gharpure wrote: Co-Author : M

[Intel-gfx] [PATCH] lib/igt_kms: Add COMIT_ATOMIC to igt_display_commit2()

2016-01-31 Thread Mayuresh Gharpure
Co-Author : Marius Vlad So far we have had only two commit styles, COMMIT_LEGACY and COMMIT_UNIVERSAL. This patch adds another commit style COMMIT_ATOMIC which makes use of drmModeAtomicCommit() Signed-off-by: Mayuresh Gharpure --- lib/igt_kms.c | 318

[Intel-gfx] [PATCH] lib/igt_kms: Add COMIT_ATOMIC to igt_display_commit2()

2016-01-31 Thread Mayuresh Gharpure
Co-Author : Marius Vlad So far we have had only two commit styles, COMMIT_LEGACY and COMMIT_UNIVERSAL. This patch adds another commit style COMMIT_ATOMIC which makes use of drmModeAtomicCommit() Signed-off-by: Mayuresh Gharpure --- lib/igt_kms.c | 317

[Intel-gfx] [PATCH] lib/igt_kms: Add COMIT_ATOMIC to igt_display_commit2()

2016-01-29 Thread Mayuresh Gharpure
Co-Author : Marius Vlad So far we have had only two commit styles, COMMIT_LEGACY and COMMIT_UNIVERSAL. This patch adds another commit style COMMIT_ATOMIC which makes use of drmModeAtomicCommit() Signed-off-by: Mayuresh Gharpure --- lib/igt_kms.c | 317

[Intel-gfx] [PATCH] lib/igt_kms: Add COMIT_ATOMIC to igt_display_commit2()

2016-01-27 Thread Mayuresh Gharpure
Co-Author : Marius Vlad So far we have had only two commit styles, COMMIT_LEGACY and COMMIT_UNIVERSAL. This patch adds another commit style COMMIT_ATOMIC which makes use of drmModeAtomicCommit() Signed-off-by: Mayuresh Gharpure --- lib/igt_kms.c | 317

[Intel-gfx] [PATCH] drm/i915: Y/Yf Tiling Workaround for BXT/SKL

2016-01-22 Thread Mayuresh Gharpure
BXT/SKL Bspec specifies a workaround of setting a bit of CHICKEN_DCPR_1 register when one of the plane is enabled with a Y or Yf tiled buffer. This patch implements this workaround Signed-off-by: Mayuresh Gharpure --- drivers/gpu/drm/i915/i915_drv.h | 6 ++ drivers/gpu/drm/i915

[Intel-gfx] [PATCH] tests/kms_rotation_crc : Added Support for 90/270 roation tests for RGB565 Formats

2015-12-23 Thread Mayuresh Gharpure
Signed-off-by: Mayuresh Gharpure --- tests/kms_rotation_crc.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index c3241cf..8732eac 100644 --- a/tests/kms_rotation_crc.c +++ b/tests

[Intel-gfx] [PATCH] tests/kms_rotation_crc : Added Support for 90/270 roation tests for RGB565 Formats

2015-12-23 Thread Mayuresh Gharpure
Signed-off-by: Mayuresh Gharpure --- tests/kms_rotation_crc.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index c3241cf..8732eac 100644 --- a/tests/kms_rotation_crc.c +++ b/tests

[Intel-gfx] [PATCH] tests/kms_render_compression.c : Tests for Render Compression Feature

2015-05-26 Thread Mayuresh Gharpure
Signed-off-by: Mayuresh Gharpure --- tests/Makefile.sources | 1 + tests/kms_render_compression.c | 359 + 2 files changed, 360 insertions(+) create mode 100644 tests/kms_render_compression.c diff --git a/tests/Makefile.sources b/tests

[Intel-gfx] [PATCH] lib/igt_kms: Library changes to add Render Compression Tests

2015-05-26 Thread Mayuresh Gharpure
The lib changes ensure the following: 1) Get the value of rc property during igt_display_init 2) Set the value of rc property during do_display_commit 3) Add supporting method to set rc property from kms_test Signed-off-by: Mayuresh Gharpure --- lib/igt_kms.c | 40