From: Robert Foss <robert.f...@collabora.com>
Previously crtc0 was statically used for VBLANK tests, but
that assumption is not valid for the VC4 platform.
Instead we're now explicitly setting the mode.
Also add support for testing all connected connectors during
the same test.
Sign
From: Robert Foss <robert.f...@collabora.com>
Increase the number of planes supported to 10.
kmstest_plane_name only previously supported 4 planes,
this patch adds support for up to 10 planes.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 ++
l
From: Robert Foss <robert.f...@collabora.com>
In addition to the changes made in v4, danvet suggested that the argument for
the (newly renamed) helper function kmstest_get_vbl_flag should be changed.
I investigated it and found that all of the places where the helper function
currently i
From: Robert Foss <robert.f...@collabora.com>
Added function pipe_id_to_vbl_flag() to igt_kms.
This function formats a pipe_id into the format
expected by DRM while processing DRM_IOCTL_WAIT_VBLANK.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/ig
From: Robert Foss <robert.f...@collabora.com>
Fix issue where the plane counting fails due to the number and
configuration of planes being unlike the intel configuration.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 --
1 file changed, 4 inse
On 2016-05-11 09:45 AM, Robert Foss wrote:
On 2016-05-10 03:44 AM, Daniel Vetter wrote:
On Tue, Apr 26, 2016 at 11:54:22AM -0400, robert.f...@collabora.com
wrote:
From: Robert Foss <robert.f...@collabora.com>
Added function pipe_id_to_vbl_flag() to igt_kms.
This function formats a p
On 2016-05-10 01:54 PM, Ville Syrjälä wrote:
On Tue, Apr 26, 2016 at 11:54:22AM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
Added function pipe_id_to_vbl_flag() to igt_kms.
This function formats a pipe_id into the format
expected by DRM
On 2016-05-10 03:44 AM, Daniel Vetter wrote:
On Tue, Apr 26, 2016 at 11:54:22AM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
Added function pipe_id_to_vbl_flag() to igt_kms.
This function formats a pipe_id into the format
expected by DRM
On 2016-05-09 11:38 AM, Marius Vlad wrote:
> On Tue, Apr 26, 2016 at 11:54:21AM -0400, robert.f...@collabora.com
wrote:
>> From: Robert Foss <robert.f...@collabora.com>
>>
>> Previously crtc0 was statically used for VBLANK tests, but
>> that assumption
From: Robert Foss <robert.f...@collabora.com>
Switched from DRIVER_INTEL to DRIVER_ANY to enable test
on all hardware.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 2 +-
1 file ch
From: Robert Foss <robert.f...@collabora.com>
ref_crc is never assigned or read, and can be safely
removed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 1 -
1 file changed, 1
From: Robert Foss <robert.f...@collabora.com>
Changed the DRM format to LOCAL_DRM_FORMAT_MOD_NONE since it
is hardware agnostic.
Also fixed formatting/tabs.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.
From: Robert Foss <robert.f...@collabora.com>
pipe_crc in data_t is assigned an allocated memory space and
then later free'd. But it is never used for any comparisons.
It should therefore be safe to remove pipe_crc and the crc
requirement.
Signed-off-by: Robert Foss <robert.f...@coll
From: Robert Foss <robert.f...@collabora.com>
Enable testing on all connectors that have the "scaling mode"
property set.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93012
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Daniel Vetter &
From: Robert Foss <robert.f...@collabora.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93012
Signed-off-by: Jani Nikula <jani.nik...@intel.com>
---
tests/kms_panel_fitting.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/kms_panel_fitti
From: Robert Foss <robert.f...@collabora.com>
Remove devid from data_t since it is never read.
Also remove one assignment to devid.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 2
From: Robert Foss <robert.f...@collabora.com>
Changes since v1:
- Squash patches
- Based patch on
https://lists.freedesktop.org/archives/intel-gfx/2016-March/090617.html
Changes since v2:
- Added reviewed-by tomeu to patch 1-5.
- kms_panel_fitting.c: Replaced connector type ch
From: Robert Foss <robert.f...@collabora.com>
Changes since v1:
- Squash patches
- Based patch on
https://lists.freedesktop.org/archives/intel-gfx/2016-March/090617.html
Changes since v2:
- Added reviewed-by tomeu to patch 1-5.
- kms_panel_fitting.c: Replaced connector type ch
From: Robert Foss <robert.f...@collabora.com>
Changes since v1:
- Squash patches
- Based patch on
https://lists.freedesktop.org/archives/intel-gfx/2016-March/090617.html
Changes since v2:
- Added reviewed-by tomeu to patch 1-5.
- kms_panel_fitting.c: Replaced connector type ch
On 05/02/2016 04:20 AM, Daniel Vetter wrote:
On Thu, Apr 28, 2016 at 11:57:21AM -0400, Robert Foss wrote:
On 04/28/2016 10:41 AM, Daniel Vetter wrote:
On Thu, Apr 28, 2016 at 10:07:41AM -0400, Robert Foss wrote:
On 04/28/2016 04:02 AM, Daniel Vetter wrote:
On Tue, Apr 26, 2016 at 01:08
On 04/28/2016 10:41 AM, Daniel Vetter wrote:
On Thu, Apr 28, 2016 at 10:07:41AM -0400, Robert Foss wrote:
On 04/28/2016 04:02 AM, Daniel Vetter wrote:
On Tue, Apr 26, 2016 at 01:08:35PM -0400, Robert Foss wrote:
On 04/26/2016 01:00 PM, Ville Syrjälä wrote:
On Tue, Apr 26, 2016 at 12:55
On 04/28/2016 04:02 AM, Daniel Vetter wrote:
On Tue, Apr 26, 2016 at 01:08:35PM -0400, Robert Foss wrote:
On 04/26/2016 01:00 PM, Ville Syrjälä wrote:
On Tue, Apr 26, 2016 at 12:55:54PM -0400, Robert Foss wrote:
On 04/26/2016 10:11 AM, Daniel Vetter wrote:
On Fri, Apr 22, 2016 at 05:25
From: Robert Foss <robert.f...@collabora.com>
Switched from DRIVER_INTEL to DRIVER_ANY to enable test
on all hardware.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 2 +-
1 file ch
From: Robert Foss <robert.f...@collabora.com>
Changed the DRM format to LOCAL_DRM_FORMAT_MOD_NONE since it
is hardware agnostic.
Also fixed formatting/tabs.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.
From: Robert Foss <robert.f...@collabora.com>
Enable testing on all connectors that have the "scaling mode"
property set.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93012
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Daniel Vetter &
From: Robert Foss <robert.f...@collabora.com>
ref_crc is never assigned or read, and can be safely
removed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 1 -
1 file changed, 1
From: Robert Foss <robert.f...@collabora.com>
pipe_crc in data_t is assigned an allocated memory space and
then later free'd. But it is never used for any comparisons.
It should therefore be safe to remove pipe_crc and the crc
requirement.
Signed-off-by: Robert Foss <robert.f...@coll
From: Robert Foss <robert.f...@collabora.com>
Changes since v4:
- Added reviewed-by danvet to patch 6, all patches are now reviewed.
Changes since v3:
- kms_panel_fitting.c: Pass NULL arguments instead
- Added bugzilla link: https://bugs.freedesktop.org/show_bug.cgi?id=93012
Changes si
From: Robert Foss <robert.f...@collabora.com>
Remove devid from data_t since it is never read.
Also remove one assignment to devid.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 2
From: Robert Foss <robert.f...@collabora.com>
Changes since v3:
- kms_panel_fitting.c: Pass NULL arguments instead
- Added bugzilla link: https://bugs.freedesktop.org/show_bug.cgi?id=93012
Changes since v2:
- Added reviewed-by tomeu to patch 1-5.
- kms_panel_fitting.c: Replaced connecto
From: Robert Foss <robert.f...@collabora.com>
Remove devid from data_t since it is never read.
Also remove one assignment to devid.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 2
From: Robert Foss <robert.f...@collabora.com>
ref_crc is never assigned or read, and can be safely
removed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 1 -
1 file changed, 1
From: Robert Foss <robert.f...@collabora.com>
pipe_crc in data_t is assigned an allocated memory space and
then later free'd. But it is never used for any comparisons.
It should therefore be safe to remove pipe_crc and the crc
requirement.
Signed-off-by: Robert Foss <robert.f...@coll
From: Robert Foss <robert.f...@collabora.com>
Switched from DRIVER_INTEL to DRIVER_ANY to enable test
on all hardware.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 2 +-
1 file ch
From: Robert Foss <robert.f...@collabora.com>
Changed the DRM format to LOCAL_DRM_FORMAT_MOD_NONE since it
is hardware agnostic.
Also fixed formatting/tabs.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.
From: Robert Foss <robert.f...@collabora.com>
Enable testing on all connectors that have the "scaling mode"
property set.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93012
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c |
From: Robert Foss <robert.f...@collabora.com>
ref_crc is never assigned or read, and can be safely
removed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 1 -
1 file changed, 1
From: Robert Foss <robert.f...@collabora.com>
Remove devid from data_t since it is never read.
Also remove one assignment to devid.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 2
From: Robert Foss <robert.f...@collabora.com>
Changed the DRM format to LOCAL_DRM_FORMAT_MOD_NONE since it
is hardware agnostic.
Also fixed formatting/tabs.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.
From: Robert Foss <robert.f...@collabora.com>
Enable testing on all connectors that have the "scaling mode"
property set.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 18 +++---
1 file changed, 15 insertions(+), 3 de
From: Robert Foss <robert.f...@collabora.com>
Switched from DRIVER_INTEL to DRIVER_ANY to enable test
on all hardware.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/kms_panel_fitting.c | 2 +-
1 file ch
From: Robert Foss <robert.f...@collabora.com>
Changes since v2:
- Added reviewed-by tomeu to patch 1-5.
- kms_panel_fitting.c: Replaced connector type checking with "scaling mode"
property check.
Changes since v1:
- Squash patches
- Based patch on
https://lists.freedesktop.or
From: Robert Foss <robert.f...@collabora.com>
pipe_crc in data_t is assigned an allocated memory space and
then later free'd. But it is never used for any comparisons.
It should therefore be safe to remove pipe_crc and the crc
requirement.
Signed-off-by: Robert Foss <robert.f...@coll
On 04/26/2016 01:00 PM, Ville Syrjälä wrote:
On Tue, Apr 26, 2016 at 12:55:54PM -0400, Robert Foss wrote:
On 04/26/2016 10:11 AM, Daniel Vetter wrote:
On Fri, Apr 22, 2016 at 05:25:00PM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
Add s
On 04/26/2016 10:11 AM, Daniel Vetter wrote:
On Fri, Apr 22, 2016 at 05:25:00PM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
Add support for DRM_MODE_CONNECTOR_LVDS and DRM_MODE_CONNECTOR_DSI
connectors.
Signed-off-by: Robert Foss <
On 04/26/2016 10:10 AM, Daniel Vetter wrote:
On Fri, Apr 22, 2016 at 05:24:59PM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
If an incompatible connector is found, don't skip the test,
but rather keep looking for valid connectors.
Sign
From: Robert Foss <robert.f...@collabora.com>
Switch igt_assert to igt_assert_lte to provide more diagnostic
information.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_kms.c b/l
From: Robert Foss <robert.f...@collabora.com>
Added function pipe_id_to_vbl_flag() to igt_kms.
This function formats a pipe_id into the format
expected by DRM while processing DRM_IOCTL_WAIT_VBLANK.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/ig
From: Robert Foss <robert.f...@collabora.com>
Previously crtc0 was statically used for VBLANK tests, but
that assumption is not valid for the VC4 platform.
Instead we're now explicitly setting the mode.
Also add support for testing all connected connectors during
the same test.
Sign
From: Robert Foss <robert.f...@collabora.com>
Fix issue where the plane counting fails due to the number and
configuration of planes being unlike the intel configuration.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 --
1 file changed, 4 inse
From: Robert Foss <robert.f...@collabora.com>
Changes since v3:
- kms_flip.c: Removed drm_fd from data_t, to decrease the number of unrelated
changes in the patch.
- kms_flip.c: Changed "int valid_tests" to "unsigned valid_tests".
- kms_flip.c: Changed cr
From: Robert Foss <robert.f...@collabora.com>
Increase the number of planes supported to 10.
kmstest_plane_name only previously supported 4 planes,
this patch adds support for up to 10 planes.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 ++
l
Changes since v1:
- Squash patches
- Based patch on
https://lists.freedesktop.org/archives/intel-gfx/2016-March/090617.html
Thanks for the patches, you can add my Reviewed-by tag to all except
the 6th patch, about which I don't know enough.
Tomeu
Thank you, I will submit the next version
for the intermediate step would be somewhat convoluted
I think.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_vblank.c | 179 +
1 file changed, 140 insertions(+), 39 deletions(-)
diff --git a/tests/kms_vblank.c b/tests/kms_vb
On 04/25/2016 11:10 AM, Ville Syrjälä wrote:
On Mon, Apr 25, 2016 at 10:35:51AM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
Add support for DRM_MODE_CONNECTOR_LVDS and DRM_MODE_CONNECTOR_DSI
connectors.
Signed-off-by: Robert Foss <
From: Robert Foss <robert.f...@collabora.com>
Fix issue where the plane counting fails due to the number and
configuration of planes being unlike the intel configuration.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 --
1 file changed, 4 inse
From: Robert Foss <robert.f...@collabora.com>
Previously crtc0 was statically used for VBLANK tests, but
that assumption is not valid for the VC4 platform.
Instead we're now explicitly setting the mode.
Also add support for testing all connected connectors during
the same test.
Sign
From: Robert Foss <robert.f...@collabora.com>
Increase the number of planes supported to 10.
kmstest_plane_name only previously supported 4 planes,
this patch adds support for up to 10 planes.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 ++
l
From: Robert Foss <robert.f...@collabora.com>
Switch igt_assert to igt_assert_lte to provide more diagnostic
information.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_kms.c b/l
From: Robert Foss <robert.f...@collabora.com>
Changes since v2:
- Rebased onto trunk which already contains kms_flip_event_leak changes.
Changes since v1:
- kms_vblank: Removed un-used members of data_t struct.
- Rename plane_counter to n_planes.
- Removed un-needed handling CURSOR
From: Robert Foss <robert.f...@collabora.com>
Changed the DRM format to LOCAL_DRM_FORMAT_MOD_NONE since it
is hardware agnostic.
Also fixed formatting/tabs.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 10 +-
1 file changed, 5 inse
From: Robert Foss <robert.f...@collabora.com>
ref_crc is never assigned or read, and can be safely
removed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/kms_panel_fitti
From: Robert Foss <robert.f...@collabora.com>
Switched from DRIVER_INTEL to DRIVER_ANY to enable test
on all hardware.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
From: Robert Foss <robert.f...@collabora.com>
Add support for DRM_MODE_CONNECTOR_LVDS and DRM_MODE_CONNECTOR_DSI
connectors.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
From: Robert Foss <robert.f...@collabora.com>
Changes since v1:
- Squash patches
- Based patch on
https://lists.freedesktop.org/archives/intel-gfx/2016-March/090617.html
Robert Foss (6):
kms_panel_fitting: Remove un-read variable.
kms_panel_fitting: Remove un-read variable pi
From: Robert Foss <robert.f...@collabora.com>
Remove devid from data_t since it is never read.
Also remove one assignment to devid.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/kms_pan
From: Robert Foss <robert.f...@collabora.com>
pipe_crc in data_t is assigned an allocated memory space and
then later free'd. But it is never used for any comparisons.
It should therefore be safe to remove pipe_crc and the crc
requirement.
Signed-off-by: Robert Foss <robert.f...@coll
From: Robert Foss <robert.f...@collabora.com>
Changed the DRM format to LOCAL_DRM_FORMAT_MOD_NONE since it
is hardware agnostic.
Also fixed formatting/tabs.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 10 +-
1 file changed, 5 inse
From: Robert Foss <robert.f...@collabora.com>
ref_crc is never assigned or read, and can be safely
removed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/kms_panel_fitti
From: Robert Foss <robert.f...@collabora.com>
Remove devid from data_t since it is never read.
Also remove one assignment to devid.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/kms_pan
From: Robert Foss <robert.f...@collabora.com>
This series removes some dead code from kms_panel_fitting and
enables support for LVDS and DSI connectors.
Robert Foss (7):
kms_panel_fitting: Remove un-read variable.
kms_panel_fitting: Remove un-read variable pipe_crc.
kms_panel_f
From: Robert Foss <robert.f...@collabora.com>
Add support for DRM_MODE_CONNECTOR_LVDS and DRM_MODE_CONNECTOR_DSI
connectors.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
From: Robert Foss <robert.f...@collabora.com>
Switched from DRIVER_INTEL to DRIVER_ANY to enable test
on all hardware.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
From: Robert Foss <robert.f...@collabora.com>
pipe_crc in data_t is assigned an allocated memory space and
then later free'd. But it is never used for any comparisons.
It should therefore be safe to remove pipe_crc and the crc
requirement.
Signed-off-by: Robert Foss <robert.f...@coll
From: Robert Foss <robert.f...@collabora.com>
If an incompatible connector is found, don't skip the test,
but rather keep looking for valid connectors.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_panel_fitting.c | 5 +++--
1 file changed, 3 insertions(+),
From: Robert Foss <robert.f...@collabora.com>
Fix issue where the plane counting fails due to the number and
configuration of planes being unlike the intel configuration.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 --
1 file changed, 4 inse
From: Robert Foss <robert.f...@collabora.com>
Makes sure we automatically extend that when adding more planes.
Inspired by a patch from Robert Foss who extended the max, but forgot
all about the enum.
While at it, also fix up the whitespace damage.
Cc: robert.f...@collabora.com
Author:
From: Robert Foss <robert.f...@collabora.com>
Previously crtc0 was statically used for VBLANK tests, but
that assumption is not valid for the VC4 platform.
Instead we're now explicitly setting the mode.
Also add support for testing all connected connectors during
the same test.
Sign
From: Robert Foss <robert.f...@collabora.com>
Changes since v1:
- Removed un-used members of data_t struct in kms_vblank.c.
- Renamed plane_counter to n_planes.
- Removed un-needed handling CURSOR plane location.
- Added names for additional planes in update kmstest_plane_name.
Robert F
From: Robert Foss <robert.f...@collabora.com>
Increase the number of planes supported to 10.
kmstest_plane_name only previously supported 4 planes,
this patch adds support for up to 10 planes.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 ++
l
From: Robert Foss <robert.f...@collabora.com>
Switch igt_assert to igt_assert_lte to provide more diagnostic
information.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_kms.c b/l
From: Robert Foss <robert.f...@collabora.com>
Change DRIVER_INTEL to DRIVER_ANY to enable tests/kms_flip_event_leak
on any driver.
Switch the tiling format to something intel indenpendant.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_flip_event_leak.c | 8
On 04/22/2016 08:53 AM, Daniel Vetter wrote:
On Thu, Apr 21, 2016 at 01:31:48PM -0400, Robert Foss wrote:
On 04/21/2016 10:50 AM, Daniel Vetter wrote:
On Wed, Apr 20, 2016 at 10:59:45AM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
Avoid overw
From: Robert Foss <robert.f...@collabora.com>
Fixed ctrc_id comparison failing due to bad initialization of
crtc variable.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_atomic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_atom
On 04/21/2016 10:50 AM, Daniel Vetter wrote:
On Wed, Apr 20, 2016 at 10:59:45AM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
Avoid overwriting planes with statically asigned indices
with planes that have dynamically assigned indices.
Sign
On 04/21/2016 10:48 AM, Daniel Vetter wrote:
On Wed, Apr 20, 2016 at 10:59:46AM -0400, robert.f...@collabora.com wrote:
From: Robert Foss <robert.f...@collabora.com>
Avoid moving the cursor plane when on non-intel hardware.
Running the move block on hardware with more than IGT_PLANE_
Makes sure we automatically extend that when adding more planes.
Inspired by a patch from Robert Foss who extended the max, but forgot
all about the enum.
While at it, also fix up the whitespace damage.
Cc: robert.f...@collabora.com
Signed-off-by: Daniel Vetter <daniel.vet...@intel.
From: Robert Foss <robert.f...@collabora.com>
This series enables tests/core_getversion to test vc4.
It's been tested on rpi2 hardware and kernel 4.6.0-rc1.
Changes since v1:
- Improved commit message
- Switched to is_915_device() helper function
Robert Foss (2):
core_getversion: Sw
From: Robert Foss <robert.f...@collabora.com>
This change mirrors the change in drm made by k...@redhat.com
on "Mon Apr 6 17:18:17 2009" on the drm branch intel_on_all_hw.
The assert(major < 1) is only needed for the legacy intel driver.
Signed-off-by: Robert Foss <rob
From: Robert Foss <robert.f...@collabora.com>
Switched to assert helpers to enable better error output.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/core_getversion.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/core_getversi
From: Robert Foss <robert.f...@collabora.com>
The VC4 DRM currently uses 10 planes which is more than any
other DRM, let's allocate space for the worst case scenario.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.h | 2 +-
1 file changed, 1 insertion(+)
From: Robert Foss <robert.f...@collabora.com>
Change DRIVER_INTEL to DRIVER_ANY to enable tests/kms_flip_event_leak
on any driver.
Switch the tiling format to something intel indenpendant.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_flip_event_leak.c | 8
From: Robert Foss <robert.f...@collabora.com>
Avoid overwriting planes with statically asigned indices
with planes that have dynamically assigned indices.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/l
From: Robert Foss <robert.f...@collabora.com>
Switch igt_assert to igt_assert_lte to provide more diagnostic
information.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_kms.c b/l
From: Robert Foss <robert.f...@collabora.com>
Previously crtc0 was statically used for VBLANK tests, but
that assumption is not valid for the VC4 platform.
Instead we're now explicitly setting the mode.
Also add support for testing all connected connectors during
the same test.
Sign
From: Robert Foss <robert.f...@collabora.com>
Avoid moving the cursor plane when on non-intel hardware.
Running the move block on hardware with more than IGT_PLANE_CURSOR
number of planes causes planes do be zeroed out.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
l
From: Robert Foss <robert.f...@collabora.com>
Fix issue where the plane counting fails due to the number and
configuration of planes being unlike the intel configuration.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 --
1 file changed, 4 inse
From: Robert Foss <robert.f...@collabora.com>
This series enables tests/kms_flip_event_leak and tests/kms_vblank on non-intel
hardware.
It's been tested with vc4 on an rpi2 running kernel 4.6.0-rc1.
Robert Foss (7):
lib/igt_kms: Add support for up to 10 planes per pipe.
lib/igt_km
From: Robert Foss <robert.f...@collabora.com>
Fixed ctrc_id comparison failing due to bad initialization of
crtc variable.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_atomic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_atom
From: Robert Foss <robert.f...@collabora.com>
Switched to assert helpers to enable better error output.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/core_getversion.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/core_getversi
601 - 700 of 702 matches
Mail list logo