[Intel-gfx] [PATCH] drm/i915: Only fence tiled region of object.

2014-12-18 Thread Bob Paauwe
d-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_gem.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 67550ac..c9acbfa 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -3

Re: [Intel-gfx] [PATCH] igt: Test tiled bo for proper fence.

2014-12-18 Thread Bob Paauwe
On Thu, 18 Dec 2014 21:31:43 +0100 Daniel Vetter wrote: > On Thu, Dec 18, 2014 at 09:50:27AM -0800, Bob Paauwe wrote: > > When a tiled bo is allocated such that the actual size of the bo is > > larger than the region covered by the tiles. For example allocating > > a Y-ti

[Intel-gfx] [RFC 00/12] i915 init-time configuration.

2015-02-12 Thread Bob Paauwe
perty table. Bob Paauwe (12): drm/i915/config: Initial framework drm/i915/config: Introduce intel_output_name drm/i915/config: Add init-time configuration of bits per color. drm/i915/config: Set dp panel fitter property based on init-time config. drm/i915/config: Set general conn

[Intel-gfx] [RFC 09/12] drm/i915/config: Add VBT settings configuration.

2015-02-12 Thread Bob Paauwe
. Any data found in the configuration tables will replace the driver's vbt structure. MIPI DSI configuration is not implmemnted at this time. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_dma.c | 2 + drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/intel_con

[Intel-gfx] [RFC 02/12] drm/i915/config: Introduce intel_output_name

2015-02-12 Thread Bob Paauwe
Human readable name for each output type to correspond with names used in the ACPI property tables. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_display.c | 57 drivers/gpu/drm/i915/intel_drv.h | 1 + 2 files changed, 58 insertions(+) diff

[Intel-gfx] [RFC 01/12] drm/i915/config: Initial framework

2015-02-12 Thread Bob Paauwe
value associated with it. intel_config_init__property() will look up a configuration property and assign the value to a drm property of the same name. These functions are used to initialize drm property instances to specific values. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/Makefile | 3

[Intel-gfx] [RFC 12/12] drm/i915/config: Add ACPI device examples for VBT configuration.

2015-02-12 Thread Bob Paauwe
Add VBT device sections with sample data to test the VBT parsing. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915-properties.asl | 140 +++ drivers/gpu/drm/i915/i915-properties.hex | 622 +++ 2 files changed, 533 insertions(+), 229 deletions(-) diff

[Intel-gfx] [RFC 07/12] drm/i915/config: Get workaround information from configuration.

2015-02-12 Thread Bob Paauwe
useful to "adjust" the workaround list for a new GPU prior to fixed support being available in the driver. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/intel_config.c | 101 +++- drivers/gpu/drm/i915/i

[Intel-gfx] [RFC 06/12] drm/i915/config: Split out allocation of list nodes.

2015-02-12 Thread Bob Paauwe
We'll reduce some duplicate code if we move the list node allocation to its own function when we start processing future config items like workaround or vbt information. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_config.c | 49 ++--- 1 file ch

[Intel-gfx] [RFC 03/12] drm/i915/config: Add init-time configuration of bits per color.

2015-02-12 Thread Bob Paauwe
Allow the init-time configuration to specify the bits per color value that gets used if bits per color is not present in EDID data (or if EDID is not present). Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_display.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a

[Intel-gfx] [RFC 08/12] drm/i915/config: Use workarounds list from configuration.

2015-02-12 Thread Bob Paauwe
If there are ACPI table based workarounds for a platform, use those instead of the built-in driver list when doing the workaround init. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_ringbuffer.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a

[Intel-gfx] [RFC 04/12] drm/i915/config: Set dp panel fitter property based on init-time config.

2015-02-12 Thread Bob Paauwe
Use the init-time configuration setting for scaling_mode to set the initial value of the scaling_mode connector property. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_dp.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b

[Intel-gfx] [RFC 11/12] drm/i915/config: Add workaround properties to ACPI table.

2015-02-12 Thread Bob Paauwe
Add the various workarounds as properties in the ACPI table. How these get processed and used is still TBD. Added broadwell and cherrytrail workarounds as examples. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915-properties.asl | 50 + drivers/gpu/drm/i915/i915-properties.hex | 352

[Intel-gfx] [RFC 05/12] drm/i915/config: Set general connector properties using config.

2015-02-12 Thread Bob Paauwe
Set the initial value of the force audio and broadcast rgb properties using property values found in the init-time configuration. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_modes.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [RFC 10/12] drm/i915/config: Introduce a test table and code to make use of it.

2015-02-12 Thread Bob Paauwe
: Bob Paauwe --- drivers/gpu/drm/i915/i915-properties.asl | 150 +++ drivers/gpu/drm/i915/i915-properties.hex | 173 +++ drivers/gpu/drm/i915/intel_config.c | 20 +++- 3 files changed, 342 insertions(+), 1 deletion(-) create mode 100644

Re: [Intel-gfx] [RFC 00/12] i915 init-time configuration.

2015-02-13 Thread Bob Paauwe
On Fri, 13 Feb 2015 10:08:52 +0200 Jani Nikula wrote: Thanks Jani for the quick look and comments! > On Fri, 13 Feb 2015, Bob Paauwe wrote: > > Background: > > > > This capability is targeted at deeply embedded appliance like devices > > that make use of Intel integr

Re: [Intel-gfx] [RFC 01/12] drm/i915/config: Initial framework

2015-02-24 Thread Bob Paauwe
On Tue, 24 Feb 2015 17:17:18 +0100 Daniel Vetter wrote: > On Thu, Feb 12, 2015 at 03:41:27PM -0800, Bob Paauwe wrote: > > This adds an init-time configuration framework that parses configuration > > data from an ACPI property table. The table is assumed to have well > &g

Re: [Intel-gfx] [RFC 07/12] drm/i915/config: Get workaround information from configuration.

2015-02-24 Thread Bob Paauwe
On Tue, 24 Feb 2015 14:51:31 +0100 Daniel Vetter wrote: > On Thu, Feb 12, 2015 at 03:41:33PM -0800, Bob Paauwe wrote: > > Add ability to parse a list of workarounds from the ACPI table. > > Initially, this expects all workarounds listed to be valid and > > they replac

Re: [Intel-gfx] [RFC 09/12] drm/i915/config: Add VBT settings configuration.

2015-02-24 Thread Bob Paauwe
On Tue, 24 Feb 2015 14:57:48 +0100 Daniel Vetter wrote: > On Thu, Feb 12, 2015 at 03:41:35PM -0800, Bob Paauwe wrote: > > Add a new section with subsections to the ACPI configuration table > > that mimics much of the information typically stored in the VBT/option > > ROM.

Re: [Intel-gfx] [RFC 09/12] drm/i915/config: Add VBT settings configuration.

2015-02-24 Thread Bob Paauwe
On Tue, 24 Feb 2015 21:52:16 +0100 Daniel Vetter wrote: > On Tue, Feb 24, 2015 at 10:37:10AM -0800, Bob Paauwe wrote: > > On Tue, 24 Feb 2015 14:57:48 +0100 > > Daniel Vetter wrote: > > > As Jani points out we already have vbt headaches, it would be good if we &g

Re: [Intel-gfx] [PATCH] drm/i915: Don't clear all watermarks when updating.

2015-07-16 Thread Bob Paauwe
On Thu, 16 Jul 2015 13:30:11 +0100 Damien Lespiau wrote: > On Wed, Jul 08, 2015 at 09:05:53AM -0700, Bob Paauwe wrote: > > Clearing the watermarks for all pipes/planes when updating the > > watermarks for a single CRTC change seems like the wrong thing to > > do here.

[Intel-gfx] [PATCH] drm/i915/skl: Don't clear all watermarks when updating. (v2)

2015-07-21 Thread Bob Paauwe
being updated. Damien Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_pm.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index a1d92b7..27c3126 100644 --- a/drivers/gpu/drm

[Intel-gfx] [PATCH] sna: Fix the reduction of xy reflection onto rotations.

2015-08-13 Thread Bob Paauwe
When reducing a xy reflection to a 180 degree rotation, make sure only one rotation bit is set. Also by rotating the bit left, we can support cases where xy reflection happens with 90/270 degree rotation. Signed-off-by: Bob Paauwe --- src/sna/sna_display.c | 5 - 1 file changed, 4

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Color manager framework for valleyview

2014-09-09 Thread Bob Paauwe
On Tue, 9 Sep 2014 11:53:13 +0530 wrote: > From: Shashank Sharma > > Color manager is a framework which adds drm properties for > color correction in I915 driver. This framework creates DRM > properties for each color correction feature, and attaches > it to appropriate CRTC/plane based on the

Re: [Intel-gfx] [PATCH 3/4] drm/i915: CSC color correction

2014-09-09 Thread Bob Paauwe
On Tue, 9 Sep 2014 11:53:15 +0530 wrote: > From: Shashank Sharma > > This patch adds support for CSC correction color property. > It does the following: > 1. Creates a new DRM property for CSC correction. Adds this into >mode_config. > 2. Attaches this CSC property to calling CRTC. Creates

Re: [Intel-gfx] [PATCH 3/4] drm/i915: CSC color correction

2014-09-10 Thread Bob Paauwe
On Wed, 10 Sep 2014 14:25:00 +0530 "Sharma, Shashank" wrote: > Thanks for your time and review. Thanks for working on this. This is a feature that the IOTG group is interested in. > Please find my comments inline. > > Regards > Shashank > > On 9/10/2014 4:21 A

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Color manager framework for valleyview

2014-09-10 Thread Bob Paauwe
On Wed, 10 Sep 2014 14:10:01 +0530 "Sharma, Shashank" wrote: > Hello Bob, > > Thanks for your time and review comments. > Please find my comments inline. > > Regards > Shashank > On 9/10/2014 4:21 AM, Bob Paauwe wrote: > > On Tue, 9 Sep 2014 11:53:13 +

<    1   2   3