[Intel-gfx] [PATCH] drm/i915/cnp: add CNP gmbus support

2017-04-06 Thread Rodrigo Vivi
On CNP PCH based platforms the gmbus is on the south display that is on PCH. The existing implementation for previous platforms already covers the need for CNP expect for the pin pair configuration that follows similar definitions that we had on BXT. v2: Don't drop "_BXT" as the indicator of the f

[Intel-gfx] [PATCH] drm/i915/cnl: Wa to ignore VBT alternate pin on B-stepping.

2017-04-06 Thread Rodrigo Vivi
Current VBT available for pre-production machines tells that we need to use alternate pin. But if we use it we end up needing to define a different table. However if we respect the spec, ignore the VBT for now we get a more reliable HDMI. Cc: Clint Taylor Signed-off-by: Rodrigo Vivi --- driver

[Intel-gfx] ✗ Fi.CI.BAT: warning for series starting with [01/67] drm/i915/cnp: Introduce Cannonpoint PCH. (rev3)

2017-04-06 Thread Patchwork
== Series Details == Series: series starting with [01/67] drm/i915/cnp: Introduce Cannonpoint PCH. (rev3) URL : https://patchwork.freedesktop.org/series/22607/ State : warning == Summary == Series 22607v3 Series without cover letter https://patchwork.freedesktop.org/api/1.0/series/22607/revis

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/cnl: Wa to ignore VBT alternate pin on B-stepping.

2017-04-06 Thread Patchwork
== Series Details == Series: drm/i915/cnl: Wa to ignore VBT alternate pin on B-stepping. URL : https://patchwork.freedesktop.org/series/22626/ State : failure == Summary == CC [M] drivers/gpu/drm/i915/gvt/cmd_parser.o CC [M] drivers/gpu/drm/i915/gvt/render.o CC [M] drivers/gpu/drm/i91

Re: [Intel-gfx] [PATCH 66/67] drm/i915/cnl: LSPCON support is gen9+

2017-04-06 Thread Sharma, Shashank
Reviewed-by: Shashank Sharma Regards Shashank -Original Message- From: Vivi, Rodrigo Sent: Thursday, April 6, 2017 10:16 PM To: intel-gfx@lists.freedesktop.org Cc: Vivi, Rodrigo ; Sharma, Shashank Subject: [PATCH 66/67] drm/i915/cnl: LSPCON support is gen9+ There is no platform specif

[Intel-gfx] [PATCH 01/13] drm/i915: Remove unused members from intel_tv.c

2017-04-06 Thread Maarten Lankhorst
They have been unused since 2010, after the code for intel_tv_save/restore was removed. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_tv.c | 33 - 1 file changed, 33 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i91

[Intel-gfx] [PATCH 09/13] drm/i915: Make intel_dp->has_audio reflect hw state only

2017-04-06 Thread Maarten Lankhorst
Always detect if audio is available during edid detection. With less magic switching it's easier to convert the dp connector properties to atomic. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_dp.c | 38 -- 1 file changed, 16 insertions(+), 2

[Intel-gfx] [PATCH 04/13] drm/i915: Convert intel_crt connector properties to atomic.

2017-04-06 Thread Maarten Lankhorst
No properties are supported, so just use the helper and reject everything. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_crt.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c index

[Intel-gfx] [PATCH 03/13] drm/i915: Convert intel_dp_mst connector properties to atomic.

2017-04-06 Thread Maarten Lankhorst
MST doesn't support setting any properties, but it should still use the atomic helper for setting properties. Only path and tile properties are supported (read-only). Those are immutable, and handled by drm core. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_dp_mst.c | 11 +---

[Intel-gfx] [PATCH 00/13] drm/i915: Convert connector properties to atomic.

2017-04-06 Thread Maarten Lankhorst
Together with has_audio reflect hw state only drm/i915: Convert intel_dp properties to atomic. drm/i915: Convert intel_hdmi connector properties to atomic drm/i915: Handle force_audio correctly in intel_sdvo drm/i915: Convert intel_sdvo connector properties to atomic. drivers/gpu/drm/i915

[Intel-gfx] [PATCH 12/13] drm/i915: Handle force_audio correctly in intel_sdvo

2017-04-06 Thread Maarten Lankhorst
Do the same as other connectors, attempt to detect hdmi audio in the detect() callback, and only use the force_audio property as override. Compute has_audio in pipe_config, and use that value instead of the probed value directly. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_sd

[Intel-gfx] [PATCH 13/13] drm/i915: Convert intel_sdvo connector properties to atomic.

2017-04-06 Thread Maarten Lankhorst
SDVO was the last connector that's still using the legacy paths for properties, and this is with a reason! This connector implements a lot of properties dynamically, and some of them shared with the digital connector state, so sdvo_connector_state subclasses intel_digital_connector_state. set_pro

[Intel-gfx] [PATCH 07/13] drm/i915: Convert DSI connector properties to atomic.

2017-04-06 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_dsi.c | 61 +--- 1 file changed, 13 insertions(+), 48 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dsi.c b/drivers/gpu/drm/i915/intel_dsi.c index e787142025ac..f4517de69ab3 100644 --- a/dr

[Intel-gfx] [PATCH 10/13] drm/i915: Convert intel_dp properties to atomic.

2017-04-06 Thread Maarten Lankhorst
intel_dp supports 3 properties, scaling mode, broadcast rgb and force_audio. intel_digital_connector handles the plumbing, so we only have to hook this up in compute_config and init. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_dp.c | 138 -

[Intel-gfx] [PATCH 02/13] drm/i915: Convert intel_tv connector properties to atomic, v5.

2017-04-06 Thread Maarten Lankhorst
As a proof of concept, first try to convert intel_tv, which is a rarely used connector. It has 5 properties, tv format and 4 margins. I'm less certain about the state behavior itself, should we pass a size parameter to intel_connector_alloc instead, so duplicate_state can be done globally if it ca

[Intel-gfx] [PATCH 11/13] drm/i915: Convert intel_hdmi connector properties to atomic

2017-04-06 Thread Maarten Lankhorst
intel_hdmi supports 3 properties, force_audio, broadcast rgb and scaling mode. The last one is only created for eDP, so the is_eDP in set_property is not required. panel fitting and broadcast rgb are straightforward and only requires changing compute_config. force_audio is also used to force DVI

[Intel-gfx] [PATCH 06/13] drm/i915: Add plumbing for digital connector state.

2017-04-06 Thread Maarten Lankhorst
Some atomic properties are common between the various kinds of connectors, for example a lot of them use panel fitting mode. It makes sense to put a lot of it in a common place, so each connector can use it while they're being converted. Implement the properties required for the connectors: - scal

[Intel-gfx] [PATCH 08/13] drm/i915: Convert LVDS connector properties to atomic.

2017-04-06 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_lvds.c | 60 +-- 1 file changed, 19 insertions(+), 41 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index 919d84290774..6bed3827411e 100644 --- a

[Intel-gfx] [PATCH 05/13] drm/i915: Convert intel DVO connector to atomic

2017-04-06 Thread Maarten Lankhorst
No properties are supported, so just use the helper and reject everything. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_dvo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c index 6025839ed

[Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: Convert connector properties to atomic.

2017-04-06 Thread Patchwork
== Series Details == Series: drm/i915: Convert connector properties to atomic. URL : https://patchwork.freedesktop.org/series/22634/ State : warning == Summary == Series 22634v1 drm/i915: Convert connector properties to atomic. https://patchwork.freedesktop.org/api/1.0/series/22634/revisions/1

<    1   2   3