[PATCH igt v7 1/4] lib/tests: Add igt_assert_*() self-tests

2015-10-29 Thread Thomas Wood
On 29 October 2015 at 10:31, Daniel Stone wrote: > Make sure our igt_assert variants are doing something that looks vaguely > like the right thing. > > Signed-off-by: Daniel Stone > --- > lib/tests/Makefile.sources | 1 + > lib/tests/igt_simple.c | 173 >

[Intel-gfx] [PATCH i-g-t] tests/drm_hw_lock: Tests for hw_lock fixes.

2015-04-27 Thread Thomas Wood
On 23 April 2015 at 15:07, Peter Antoine wrote: > There are several issues with the hardware locks functions that stretch > from kernel crashes to priority escalations. This new test will test the > the fixes for these features. > > This test will cause a driver/kernel crash on un-patched

[PATCH libdrm 1/3] intel/skl: Add SKL PCI ids

2014-09-30 Thread Thomas Wood
On 26 September 2014 14:19, Damien Lespiau wrote: > v2: Add more PCI IDs (Michael H. Nguyen) > v3: Synchronize one more with the kernel PCI IDs (Damien) > > Signed-off-by: Damien Lespiau > Signed-off-by: Ben Widawsky > Signed-off-by: Michael H. Nguyen Reviewed-by: Thomas Woo

[PATCH v2] drm: fix plane rotation when restoring fbdev configuration

2014-08-20 Thread Thomas Wood
Jindal Cc: Ville Syrj?l? Cc: Dave Airlie Cc: Daniel Vetter Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_crtc.c | 25 - drivers/gpu/drm/drm_fb_helper.c | 6 +++--- include/drm/drm_crtc.h | 3 +++ 3 files changed, 26 insertions(+), 8 deletions

[Intel-gfx] [PATCH] drm: fix plane rotation when restoring fbdev configuration

2014-08-15 Thread Thomas Wood
On 15 August 2014 11:22, Daniel Vetter wrote: > On Fri, Aug 15, 2014 at 10:48:05AM +0100, Thomas Wood wrote: >> On 15 August 2014 10:42, Thomas Wood wrote: >> > On 14 August 2014 17:02, Daniel Vetter wrote: >> >> On Thu, Aug 14, 2014 at 04:33:18PM +0100, Thoma

[Intel-gfx] [PATCH] drm: fix plane rotation when restoring fbdev configuration

2014-08-15 Thread Thomas Wood
On 15 August 2014 10:42, Thomas Wood wrote: > On 14 August 2014 17:02, Daniel Vetter wrote: >> On Thu, Aug 14, 2014 at 04:33:18PM +0100, Thomas Wood wrote: >>> Make sure plane rotation is reset correctly when restoring the fbdev >>> configuration by using drm_mode_pla

[Intel-gfx] [PATCH] drm: fix plane rotation when restoring fbdev configuration

2014-08-15 Thread Thomas Wood
On 14 August 2014 17:02, Daniel Vetter wrote: > On Thu, Aug 14, 2014 at 04:33:18PM +0100, Thomas Wood wrote: >> Make sure plane rotation is reset correctly when restoring the fbdev >> configuration by using drm_mode_plane_set_obj_prop. This calls the >> driver's set_property

[PATCH] drm: fix plane rotation when restoring fbdev configuration

2014-08-14 Thread Thomas Wood
Make sure plane rotation is reset correctly when restoring the fbdev configuration by using drm_mode_plane_set_obj_prop. This calls the driver's set_property callback and ensures the rotation is actually changed. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82236 Signed-off-by: Thomas

[PATCH 1/1] drm/tilcdc: Fix build breakage

2014-07-10 Thread Thomas Wood
quot; [drivers/gpu/drm/tilcdc/tilcdc.ko] >>> > undefined! >>> > >>> > Signed-off-by: Sachin Kamat >>> > CC: Thomas Wood >>> > CC: David Herrmann >>> > CC: Daniel Vetter >>> > --- >>> > Only comp

[PATCH v2 2/2] drm/debugfs: add an "edid_override" file per connector

2014-06-18 Thread Thomas Wood
Herrmann) Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_crtc.c | 4 +++ drivers/gpu/drm/drm_debugfs.c | 68 ++ drivers/gpu/drm/drm_probe_helper.c | 9 - include/drm/drm_crtc.h | 1 + 4 files changed, 81 insertions(+), 1

[PATCH v2 1/2] drm/debugfs: add a "force" file per connector

2014-06-18 Thread Thomas Wood
tion fails in drm_debugfs_connector_add. (David Herrmann) Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_crtc.c| 17 ++- drivers/gpu/drm/drm_debugfs.c | 114 ++ include/drm/drmP.h| 11 include/drm/drm_crtc.h| 2 + 4 files changed, 143 insert

[PATCH v2 0/2] connector debugfs properties

2014-06-18 Thread Thomas Wood
The following patches update the last two patches in the original series with the suggested changes from David Herrmann. Thomas Wood (2): drm/debugfs: add a "force" file per connector drm/debugfs: add an "edid_override" file per connector drivers/gpu/drm/drm_

[PATCH 3/3] drm/debugfs: add an "edid_override" file per connector

2014-05-29 Thread Thomas Wood
Add a file to debugfs for each connector that allows the edid data to be overridden. Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_crtc.c | 4 +++ drivers/gpu/drm/drm_debugfs.c | 56 ++ drivers/gpu/drm/drm_probe_helper.c | 9

[PATCH 2/3] drm/debugfs: add a "force" file per connector

2014-05-29 Thread Thomas Wood
Add a file to debugfs for each connector to enable modification of the "force" connector attribute. This allows connectors to be enabled or disabled for testing and debugging purposes. Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_crtc.c| 17 ++- drivers/gpu/drm/drm

[PATCH 1/3] drm: add register and unregister functions for connectors

2014-05-29 Thread Thomas Wood
Introduce generic functions to register and unregister connectors. This provides a common place to add and remove associated user space interfaces. Signed-off-by: Thomas Wood --- Documentation/DocBook/drm.tmpl| 6 +++--- drivers/gpu/drm/armada/armada_output.c| 4

[PATCH 0/3] connector debugfs properties

2014-05-29 Thread Thomas Wood
and expose the force connector attribute and allow the edid value to be overridden. Thomas Wood (3): drm: add register and unregister functions for connectors drm/debugfs: add a "force" file per connector drm/debugfs: add an "edid_override" file per connector Documentat

[PATCH] drm/sysfs: expose the "force" connector attribute

2014-05-19 Thread Thomas Wood
On 19 May 2014 15:13, David Herrmann wrote: > Hi > > On Mon, May 19, 2014 at 3:37 PM, Thomas Wood wrote: >> Signed-off-by: Thomas Wood > > The commit-msg lacks any discussion why this change is done. What is > the reason to do that? Isn't the kernel-command-line enough?

[PATCH] drm/sysfs: expose the "force" connector attribute

2014-05-19 Thread Thomas Wood
Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_sysfs.c | 49 + 1 file changed, 49 insertions(+) diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index c22c309..257816e 100644 --- a/drivers/gpu/drm/drm_sysfs.c +++ b/drivers

[PATCH] drm/edid: parse the list of additional 3D modes

2013-11-29 Thread Thomas Wood
?l?) Fix one length check and remove another. (Ville Syrj?l?) Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 94 +++--- 1 file changed, 73 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c

[PATCH 3/3] drm/edid: parse the list of additional 3D modes

2013-11-29 Thread Thomas Wood
Parse 2D_VIC_order_X and 3D_Structure_X from the list at the end of the HDMI Vendor Specific Data Block. v2: Use an offset value depending on 3D_Multi_present and add detail_present. (Ville Syrj?l?) Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 64

[PATCH 2/3] drm/edid: split VIC display mode lookup into a separate function

2013-11-29 Thread Thomas Wood
Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 67 +++--- 1 file changed, 39 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 0a1e4a5..f1d6e1e 100644 --- a/drivers/gpu/drm/drm_edid.c

[PATCH 1/3] drm/edid: fix length check when adding extra 3D modes

2013-11-29 Thread Thomas Wood
Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 52e060e..0a1e4a5 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -2674,7 +2674,7

Parse the list of additional 3D modes (v2)

2013-11-29 Thread Thomas Wood
Here's an updated series of patches taking into account Ville's review. Regards, Thomas

[PATCH 2/2] drm/edid: parse the list of additional 3D modes

2013-11-28 Thread Thomas Wood
Parse 2D_VIC_order_X and 3D_Structure_X from the list at the end of the HDMI Vendor Specific Data Block. Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b

[PATCH 1/2] drm/edid: split VIC display mode lookup into a separate function

2013-11-28 Thread Thomas Wood
Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 67 +++--- 1 file changed, 39 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 52e060e..1dd82cd 100644 --- a/drivers/gpu/drm/drm_edid.c

Parse the list of additional 3D modes

2013-11-28 Thread Thomas Wood
Hi, The following two patches add support for parsing the list of additional 3D modes at the end of the vendor specific data block. The first splits the VIC display mode lookup into a separate function so that it can be reused. The second patch parses the list, adding any support modes to the

[PATCH] drm: fix the addition of the side-by-side (half) flag for extra 3D modes

2013-11-28 Thread Thomas Wood
Ensure the side-by-side (half) flag is added to any existing flags when adding modes from 3D_Structure_ALL. Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index

[PATCH v2 edid-decode] Parse the list of additional 3D modes

2013-11-27 Thread Thomas Wood
Parse 2D_VIC_order_X and 3D_Structure_X from the list at the end of the HDMI Vendor Specific Block. v2: check 3D_Detail_X indicates horizontal sub-sampling in side-by-side (half) mode Signed-off-by: Thomas Wood --- edid-decode.c | 29 - 1 file changed, 28 insertions

[PATCH edid-decode] Parse the list of additional 3D modes

2013-10-16 Thread Thomas Wood
Parse 2D_VIC_order_X and 3D_Structure_X from the list at the end of the HDMI Vendor Specific Block. Signed-off-by: Thomas Wood --- edid-decode.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-decode.c index 4265843..8441dec

[PATCH v3] drm: add support for additional stereo 3D modes

2013-10-16 Thread Thomas Wood
e Syrj?l?) Check that the value of HDMI_3D_LEN is large enough to include 3D_Structure_ALL and 3D_MASK, if they are present. (Ville Syrj?l?) v3: Increment offset before the length checks. (Ville Syrj?l?) Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c

[PATCH v2] drm: add support for additional stereo 3D modes

2013-10-15 Thread Thomas Wood
Parse the 3D_Structure_ALL and 3D_MASK fields of the HDMI Vendor Specific Data Block to expose more stereo 3D modes. Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 105 + 1 file changed, 96 insertions(+), 9 deletions(-) diff --git

[PATCH] drm: add support for additional stereo 3D modes

2013-10-15 Thread Thomas Wood
On 11 October 2013 12:12, Ville Syrjälä ville.syrj...@linux.intel.com wrote: On Thu, Oct 10, 2013 at 02:19:15PM +0100, Thomas Wood wrote: Parse the 3D_Structure_ALL and 3D_MASK fields of the HDMI Vendor Specific Data Block to expose more stereo 3D modes. Signed-off-by: Thomas Wood thomas.w

[PATCH] drm: add support for additional stereo 3D modes

2013-10-10 Thread Thomas Wood
Parse the 3D_Structure_ALL and 3D_MASK fields of the HDMI Vendor Specific Data Block to expose more stereo 3D modes. Signed-off-by: Thomas Wood thomas.w...@intel.com --- drivers/gpu/drm/drm_edid.c | 93 ++ 1 file changed, 85 insertions(+), 8 deletions

[PATCH edid-decode 2/3] Include the last VIC in the CEA video block

2013-09-27 Thread Thomas Wood
Signed-off-by: Thomas Wood thomas.w...@intel.com --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-decode.c index 3830e0c..b710bb5 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -711,7 +711,7 @@ cea_video_block(unsigned char *x) int

[PATCH edid-decode 1/3] Add a missing comma to the list of CEA VICs

2013-09-27 Thread Thomas Wood
Signed-off-by: Thomas Wood thomas.w...@intel.com --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-decode.c index d3e3118..3830e0c 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -649,7 +649,7 @@ static const char *edid_cea_modes

[PATCH edid-decode 3/3] Print the correct VIC number next to the mode

2013-09-27 Thread Thomas Wood
Signed-off-by: Thomas Wood thomas.w...@intel.com --- edid-decode.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/edid-decode.c b/edid-decode.c index b710bb5..4265843 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -715,10 +715,11 @@ cea_video_block(unsigned char *x