Re: [Intel-gfx] [PATCH] drm/i915: Set legacy properties when using legacy gamma set IOCTL. (v2)

2016-04-19 Thread Bob Paauwe
On Tue, 19 Apr 2016 08:05:26 +0200 Maarten Lankhorst wrote: > Op 18-04-16 om 18:47 schreef Bob Paauwe: > > The i915 driver is now using atomic properties and atomic commit > > to handle the legacy set gamma IOCTL. However, if the driver is > > configured without atomic (nuc

Re: [Intel-gfx] [PATCH 1/9] drm/i915: Check for platform specific GPIO config

2017-02-15 Thread Bob Paauwe
"panel", GPIOD_OUT_HIGH); > It makes sense to restrict this as it isn't valid for other platforms as written. But is there something similar for other platforms that we should set up here? Since it makes sense to limit this today.. Reviewed-by: Bob Paauwe -- -- B

Re: [Intel-gfx] [PATCH 5/9] drm/i915/bxt: Fix BXT DSI ULPS sequence

2017-02-15 Thread Bob Paauwe
On Wed, 8 Feb 2017 16:20:54 +0530 Vidya Srinivas wrote: > From: Uma Shankar > > Fix the Sequence to program BXT DSI Latch and ULPS. > > Signed-off-by: Uma Shankar > Signed-off-by: Vidya Srinivas Reviewed-by: Bob Paauwe > --- > drivers/gpu/d

Re: [Intel-gfx] [PATCH 6/9] drm/i915/bxt: Fix BXT DSI disable sequence

2017-02-15 Thread Bob Paauwe
drm_panel_power_off(intel_dsi->panel); This depends on the previous patch, which I don't think is the direction we want to go. If the code is reworked to not use the drm_panel interface, then this would need to change also. > msleep(i

Re: [Intel-gfx] [PATCH 7/9] drm/i915/bxt: Disable device ready before shutdown command

2017-02-15 Thread Bob Paauwe
On Wed, 8 Feb 2017 16:20:56 +0530 Vidya Srinivas wrote: > From: Uma Shankar > > Disable device ready before MIPI port shutdown command. > This helps to avoid mipi split screen issues. > > Signed-off-by: Uma Shankar > Signed-off-by: Vidya Srinivas Reviewed-by: Bob Paau

Re: [Intel-gfx] [PATCH 8/9] drm/i915/bxt: Enable BXT DSI dual link

2017-02-15 Thread Bob Paauwe
On Wed, 8 Feb 2017 16:20:57 +0530 Vidya Srinivas wrote: > From: Uma Shankar > > Enable support for BXT DSI dual link mode. > > Signed-off-by: Uma Shankar > Signed-off-by: Vidya Srinivas Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/i915_reg.h | 5 +

Re: [Intel-gfx] [PATCH 4/9] drm/i915: Add DSI panel power on/off sequence callbacks

2017-02-15 Thread Bob Paauwe
o expand the use of the drm_panel interfaces but instead move to an i915 only panel interface. This would allow us to have more granular control over the sequences. But since this is actually adding new drm_panel interfaces, Acknowledged-by: Bob Paauwe > --- > drivers/gpu/drm/i915/i

Re: [Intel-gfx] [PATCH 9/9] drm/i915/bxt: Fix the DSI enable sequence

2017-02-15 Thread Bob Paauwe
gt; return 0; > @@ -550,6 +547,7 @@ static int vbt_panel_get_modes(struct drm_panel *panel) > static int vbt_panel_power_on(struct drm_panel *panel) > { > generic_exec_sequence(panel, MIPI_SEQ_POWER_ON); > + generic_exec_sequence(panel, MIPI_SEQ_ASSERT_RESET); > retur

Re: [Intel-gfx] [PATCH resend 01/15] drm/i915/dsi: Move calling of wait_for_dsi_fifo_empty to mipi_exec_send_packet

2017-02-24 Thread Bob Paauwe
FIFO status into one function. But that's probably a separate patch. I like what this is doing. Reviewed-by: Bob Paauwe > +void wait_for_dsi_fifo_empty(struct intel_dsi *intel_dsi, enum port port) > { > struct drm_encoder *encoder = &intel_dsi->base.base; >

Re: [Intel-gfx] [PATCH resend 03/15] drm/i915/dsi: Add intel_dsi_unprepare() helper

2017-02-24 Thread Bob Paauwe
isable paths. No functional changes. > > Signed-off-by: Hans de Goede > Acked-by: Jani Nikula Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_dsi.c | 37 - > 1 file changed, 24 insertions(+), 13 deletions(-) > > diff --gi

Re: [Intel-gfx] [PATCH resend 02/15] drm/i915/dsi: Merge intel_dsi_disable/enable into their respective callers

2017-02-24 Thread Bob Paauwe
tel_dsi = enc_to_intel_dsi(&encoder->base); > - enum port port; > - u32 temp; > - > - DRM_DEBUG_KMS("\n"); > - > - if (is_vid_mode(intel_dsi)) { > - for_each_dsi_port(port, intel_dsi->ports) > -

Re: [Intel-gfx] [PATCH resend 04/15] drm/i915/dsi: Move intel_dsi_clear_device_ready()

2017-02-24 Thread Bob Paauwe
tting in the middle of them. > > This commit purely moves code around, it does not make any > changes what-so-ever. > > Signed-off-by: Hans de Goede > Acked-by: Jani Nikula Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_dsi.c | 86 > ---

Re: [Intel-gfx] [PATCH resend 06/15] drm/i915/dsi: Make intel_dsi_enable/disable directly exec VBT sequences

2017-02-24 Thread Bob Paauwe
anel _enable/disable and prepare/unprepare callbacks and instead > export intel_dsi_exec_vbt_sequence() from intel_dsi_panel_vbt.c > and call that from intel_dsi_enable/disable(). > > No functional changes. > > Signed-off-by: Hans de Goede Reviewed-by: Bob Paauwe > --- &g

Re: [Intel-gfx] [PATCH resend 11/15] drm/i915/dsi: Group MIPI_SEQ_BACKLIGHT_ON/OFF with panel_[en|dis]able_backlight

2017-02-24 Thread Bob Paauwe
nts are necessary. Maybe if there was some explanation for why we're using two different mechanisms to enable/disable backlight instead. Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_dsi.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --g

Re: [Intel-gfx] [PATCH resend 10/15] drm/i915/dsi: Execute MIPI_SEQ_DEASSERT_RESET before calling device_ready()

2017-02-24 Thread Bob Paauwe
> if (IS_BROXTON(dev_priv)) { > @@ -785,6 +789,7 @@ static void intel_dsi_post_disable(struct intel_encoder > *encoder, > I915_WRITE(DSPCLK_GATE_D, val); > } > > + /* Assert reset */ Again, the comment doesn't provide any additional info. But the rest looks

Re: [Intel-gfx] [PATCH resend 09/15] drm/i915/dsi: Group DPOunit clock gate workaround with PLL enable

2017-02-24 Thread Bob Paauwe
nable > > Signed-off-by: Hans de Goede Makes sense and looks better too. Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_dsi.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_dsi.c > b/

Re: [Intel-gfx] [PATCH resend 08/15] drm/i915/dsi: Move MIPI_SEQ_POWER_ON/OFF calls together with pmic gpio calls

2017-02-24 Thread Bob Paauwe
On Mon, 20 Feb 2017 15:08:38 +0100 Hans de Goede wrote: > Now that we are no longer bound to the drm_panel_ callbacks, call > MIPI_SEQ_POWER_ON/OFF at the proper place. > > Signed-off-by: Hans de Goede Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_dsi.c |

Re: [Intel-gfx] [PATCH resend 05/15] drm/i915/dsi: Document the panel enable / disable sequences from the spec

2017-02-24 Thread Bob Paauwe
lp-00 > + * - MIPIAssertResetPin > + * - wait t3 > + * - power off > + * - wait t4 > + */ > + > static void intel_dsi_pre_enable(struct intel_encoder *encoder, >struct intel_crtc_state *pipe_config, >struct drm_co

Re: [Intel-gfx] [PATCH resend 07/15] drm/i915/dsi: Drop bogus MIPI_SEQ_ASSERT_RESET before POWER_ON

2017-02-24 Thread Bob Paauwe
EQ_POWER_ON); > intel_dsi_exec_vbt_sequence(intel_dsi, MIPI_SEQ_DEASSERT_RESET); > intel_dsi_exec_vbt_sequence(intel_dsi, MIPI_SEQ_INIT_OTP); -- -- Bob Paauwe bob.j.paa...@intel.com IOTG / PED Software Organization Intel Corp. Folsom, CA (916) 356-

Re: [Intel-gfx] [PATCH resend 12/15] drm/i915/dsi: Document always using v3 SHUTDOWN / MIPI_SEQ_DISPLAY_OFF order

2017-02-24 Thread Bob Paauwe
tdown packet then in >* some next enable sequence send turn on packet error is observed > + * XXX spec specifies SHUTDOWN before MIPI_SEQ_DISPLAY_OFF for > + * v3 VBTs, but not for v2 VBTs? >*/ > intel_dsi_exec_vbt_sequence(intel_dsi, MIPI_SEQ_DISPLAY_OF

Re: [Intel-gfx] [PATCH resend 13/15] drm/i915/dsi: Execute MIPI_SEQ_TEAR_OFF from intel_dsi_post_disable

2017-02-24 Thread Bob Paauwe
I_SEQ_TEAR_OFF); > intel_dsi_exec_vbt_sequence(intel_dsi, MIPI_SEQ_DISPLAY_OFF); > > /* Transition to LP-00 */ -- -- Bob Paauwe bob.j.paa...@intel.com IOTG / PED Software Organization Intel Corp. Folsom, CA (916) 356-6193 _

Re: [Intel-gfx] [PATCH resend 14/15] drm/i915/dsi: Call MIPI_SEQ_TEAR_ON and DISPLAY_ON for cmd-mode (untested)

2017-02-24 Thread Bob Paauwe
PI_SEQ_DISPLAY_ON); > } else { > msleep(20); /* XXX */ > for_each_dsi_port(port, intel_dsi->ports) -- -- Bob Paauwe bob.j.paa...@intel.com IOTG / PED Software Organization Intel Corp. Folsom, CA (916) 356-6193 _

Re: [Intel-gfx] [PATCH resend 15/15] drm/i915/dsi: Skip delays for v3 VBTs in vid-mode

2017-02-24 Thread Bob Paauwe
uence(intel_dsi, MIPI_SEQ_POWER_OFF); > if (intel_dsi->gpio_panel) > gpiod_set_value_cansleep(intel_dsi->gpio_panel, 0); > @@ -814,7 +825,7 @@ static void intel_dsi_post_disable(struct intel_encoder > *encoder, >* FIXME As we do wi

Re: [Intel-gfx] [PATCH resend 07/15] drm/i915/dsi: Drop bogus MIPI_SEQ_ASSERT_RESET before POWER_ON

2017-02-27 Thread Bob Paauwe
On Sat, 25 Feb 2017 11:35:03 +0100 Hans de Goede wrote: > Hi, > > On 24-02-17 18:00, Bob Paauwe wrote: > > On Mon, 20 Feb 2017 15:08:37 +0100 > > Hans de Goede wrote: > > > >> MIPI_SEQ_ASSERT_RESET before POWER_ON is not necessary for 2 reasons: > >

Re: [Intel-gfx] [PATCH resend 11/15] drm/i915/dsi: Group MIPI_SEQ_BACKLIGHT_ON/OFF with panel_[en|dis]able_backlight

2017-02-27 Thread Bob Paauwe
On Sat, 25 Feb 2017 11:37:50 +0100 Hans de Goede wrote: > Hi, > > On 24-02-17 18:00, Bob Paauwe wrote: > > On Mon, 20 Feb 2017 15:08:41 +0100 > > Hans de Goede wrote: > > > >> Execute the MIPI_SEQ_BACKLIGHT_ON/OFF VBT sequences at the same time as >

Re: [Intel-gfx] [PATCH resend 12/15] drm/i915/dsi: Document always using v3 SHUTDOWN / MIPI_SEQ_DISPLAY_OFF order

2017-02-27 Thread Bob Paauwe
On Sat, 25 Feb 2017 11:42:09 +0100 Hans de Goede wrote: > Hi, > > On 24-02-17 18:02, Bob Paauwe wrote: > > On Mon, 20 Feb 2017 15:08:42 +0100 > > Hans de Goede wrote: > > > >> According to the spec for v2 VBTs we should call MIPI_SEQ_DISPLAY_OFF > >

Re: [Intel-gfx] [PATCH resend 15/15] drm/i915/dsi: Skip delays for v3 VBTs in vid-mode

2017-02-27 Thread Bob Paauwe
On Sat, 25 Feb 2017 11:49:09 +0100 Hans de Goede wrote: > HI, > > On 24-02-17 18:02, Bob Paauwe wrote: > > On Mon, 20 Feb 2017 15:08:45 +0100 > > Hans de Goede wrote: > > > >> For v3 VBTs in vid-mode the delays are part of the VBT sequences, so >

Re: [Intel-gfx] [PATCH resend 14/15] drm/i915/dsi: Call MIPI_SEQ_TEAR_ON and DISPLAY_ON for cmd-mode (untested)

2017-02-27 Thread Bob Paauwe
On Sat, 25 Feb 2017 11:47:32 +0100 Hans de Goede wrote: > Hi, > > On 24-02-17 18:02, Bob Paauwe wrote: > > On Mon, 20 Feb 2017 15:08:44 +0100 > > Hans de Goede wrote: > > > >> According to the spec we should call MIPI_SEQ_TEAR_ON and DISPLAY_ON >

Re: [Intel-gfx] [PATCH] drm/i915/dsi: VLV/CHT Only wait for LP00 on MIPI PORT A

2017-02-27 Thread Bob Paauwe
ug.cgi?id=97061 > Signed-off-by: Hans de Goede Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_dsi.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_dsi.c > b/drivers/gpu/drm/i915/intel_dsi.c > index

Re: [Intel-gfx] [PATCH v2] drm/i915/hsw: keep gamma and CSC enabled for primary plane disable

2015-10-16 Thread Bob Paauwe
gamma and csc enable bits which default to off. If those are flipped on, then the CRC's match between a disabled plane and a black plane. So it seems to make CRC's match we need to make sure that all planes (primary/sprite/cursor/bottom) have the same gamma/csc settings. Chandra had a p

Re: [Intel-gfx] [PATCH v2] drm/i915/hsw: keep gamma and CSC enabled for primary plane disable

2015-10-20 Thread Bob Paauwe
how_bug.cgi?id=89331 > Testcase: igt/kms_universal_plane/universal-plane-pipe-A-functional > Signed-off-by: Kevin Strasser Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_display.c | 16 ++-- > 1 file changed, 10 insertions(+), 6 deletions(-) > > diff --git a/drive

Re: [Intel-gfx] [PATCH v2] drm/i915/hsw: keep gamma and CSC enabled for primary plane disable

2015-10-20 Thread Bob Paauwe
On Mon, 19 Oct 2015 10:13:58 -0700 Kevin Strasser wrote: > On Mon, Oct 19, 2015 at 12:15:41PM +0200, Daniel Vetter wrote: > > On Fri, Oct 16, 2015 at 03:53:22PM -0700, Bob Paauwe wrote: > > > On Thu, 15 Oct 2015 15:41:30 +0300 > > > Ville Syrjälä wrote: > > >

[Intel-gfx] [PATCH] drm/i915/skl+: Enable gamma and CSC on bottom color.

2015-10-20 Thread Bob Paauwe
also gamma/csc corrected, then the disiabled case will match the black plane case. testcase: igt/kms_universal_plane/universal-plane-pipe-[ABC]-functional CC: Konduru, Chandra cc: Kevin Strasser Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_reg.h | 10 ++ drivers/gpu/drm

Re: [Intel-gfx] [PATCH v2] drm/i915/hsw: keep gamma and CSC enabled for primary plane disable

2015-10-20 Thread Bob Paauwe
On Tue, 20 Oct 2015 19:13:19 +0300 Ville Syrjälä wrote: > On Tue, Oct 20, 2015 at 08:48:36AM -0700, Bob Paauwe wrote: > > On Mon, 19 Oct 2015 10:13:58 -0700 > > Kevin Strasser wrote: > > > > > On Mon, Oct 19, 2015 at 12:15:41PM +0200, Daniel Vetter wrote: > &g

[Intel-gfx] [PATCH 1/2] drm/i915/skl+: Enable gamma and CSC on bottom color. (v2)

2015-10-21 Thread Bob Paauwe
C: Konduru, Chandra cc: Kevin Strasser Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_reg.h | 10 ++ drivers/gpu/drm/i915/intel_display.c | 6 ++ 2 files changed, 16 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h ind

Re: [Intel-gfx] [PATCH] drm/i915/bxt: Fix eDP panel fitting (v2)

2015-11-04 Thread Bob Paauwe
return ret; > } > > - if (!HAS_PCH_SPLIT(dev)) > + if (HAS_GMCH_DISPLAY(dev)) > intel_gmch_panel_fitting(intel_crtc, pipe_config, > > intel_connector->panel.f

Re: [Intel-gfx] [PATCH] drm/i915/bxt: Force port A DDI to use 4 lanes

2015-11-05 Thread Bob Paauwe
that're running on BXT > where it should have been on anyway. > > Cc: Imre Deak > Cc: Bob Paauwe > Signed-off-by: Matt Roper > --- > drivers/gpu/drm/i915/intel_ddi.c | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/drivers/gpu/dr

[Intel-gfx] [PATCH] drm/i915/bxt: Broxton doesn't use gen9 scaling for rps frequencies.

2015-11-09 Thread Bob Paauwe
Signed-off-by: Bob Paauwe Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92768 --- drivers/gpu/drm/i915/intel_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 647c0ff..fc5097f 100644 --- a

Re: [Intel-gfx] [PATCH] drm/i915/bxt: Broxton doesn't use gen9 scaling for rps frequencies.

2015-11-11 Thread Bob Paauwe
On Tue, 10 Nov 2015 11:04:22 +0200 Mika Kuoppala wrote: > Bob Paauwe writes: > > > Signed-off-by: Bob Paauwe > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92768 > > --- > > drivers/gpu/drm/i915/intel_pm.c | 4 ++-- > > 1 file changed, 2 insert

[Intel-gfx] [PATCH i-g-t] igt/pm_rps: current freq < user specified min is no longer a fail

2015-11-11 Thread Bob Paauwe
frequency. Update the pm_rps tests to reflect that this is no longer considered a failure. Signed-off-by: Bob Paauwe --- tests/pm_rps.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/pm_rps.c b/tests/pm_rps.c index 74f08f4..e92ca3b 100644 --- a/tests/pm_rps.c +++ b

Re: [Intel-gfx] [PATCH] drm/i915/bxt: Broxton doesn't use gen9 scaling for rps frequencies.

2015-11-12 Thread Bob Paauwe
On Thu, 12 Nov 2015 10:35:00 +0200 Imre Deak wrote: > On Wed, 2015-11-11 at 13:36 -0800, Bob Paauwe wrote: > > On Tue, 10 Nov 2015 11:04:22 +0200 > > Mika Kuoppala wrote: > > > > > Bob Paauwe writes: > > > > > > > Signed-off-by: Bob Paa

Re: [Intel-gfx] [PATCH i-g-t] igt/pm_rps: current freq < user specified min is no longer a fail

2015-11-12 Thread Bob Paauwe
On Thu, 12 Nov 2015 11:18:11 +0200 Imre Deak wrote: > On ke, 2015-11-11 at 13:37 -0800, Bob Paauwe wrote: > > Since commit > > > > commit aed242ff7ebb697e4dff912bd4dc7ec7192f7581 > > Author: Chris Wilson > > Date: Wed Mar 18 09:48:21 2015 + &

Re: [Intel-gfx] [PATCH] drm/i915: Fix GT frequency rounding

2015-11-13 Thread Bob Paauwe
-ratio-freq conversions. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92768 > Testcase: igt/pm_rps/basic-api > Tested-by: Bob Paauwe > Cc: Bob Paauwe > Signed-off-by: Imre Deak > Signed-off-by: Mika Kuoppala > --- > drivers/gpu/drm/i915/intel_pm.c | 8 +--- > 1

Re: [Intel-gfx] [PATCH 1/2] drm: Add infrastructure for CRTC background color property

2015-11-18 Thread Bob Paauwe
device *dev, > + int flags, const char *name); > struct drm_property_blob *drm_property_create_blob(struct drm_device *dev, > size_t length, > const void *data); > @@ -1495,

Re: [Intel-gfx] [PATCH 2/2] drm/i915/skl: Add support for pipe background color

2015-11-18 Thread Bob Paauwe
raction. What if black really needed to have alpha set or drm_rgba_t expands to more than 16 bits per color or we just want to initialize the background color to something other than black? > +} > + > static void intel_crtc_init(struct drm_device *dev, int pipe) > { > struct d

Re: [Intel-gfx] [PATCH 5/8] drm/i915: Upscale scaler max scale for NV12

2017-07-28 Thread Bob Paauwe
t a/drivers/gpu/drm/i915/intel_sprite.c > b/drivers/gpu/drm/i915/intel_sprite.c > index a38b4f3..24f769a 100644 > --- a/drivers/gpu/drm/i915/intel_sprite.c > +++ b/drivers/gpu/drm/i915/intel_sprite.c > @@ -817,7 +817,8 @@ static u32 g4x_sprite_ctl(const struct intel_crtc_state > *crtc_state, >

Re: [Intel-gfx] [PATCH 0/8] Adding NV12 support

2017-08-01 Thread Bob Paauwe
915/intel_pm.c | 29 ++- > > drivers/gpu/drm/i915/intel_sprite.c | 38 +++- > > include/uapi/drm/drm_fourcc.h| 20 ++ > > 7 files changed, 428 insertions(+), 39 deletions(-) > > > > -- > > 1.9.1 > > > > ___

Re: [Intel-gfx] [PATCH v2 01/10] drm/i915/dsi: Document the panel enable / disable sequences from the spec

2017-02-28 Thread Bob Paauwe
it more obvious any differences between the different sequences. Thanks Hans! The rest of the patches in this series look good too. So for the series: Reviewed-by: Bob Paauwe > --- > Changes in v2: > -Make the comment a table with 3 columns for easier comparison of the > 3 sequenc

Re: [Intel-gfx] [PATCH 0/7] drm/i915/dsi: stop using drm_panel, refactor

2017-03-06 Thread Bob Paauwe
; between the core and the VBT stuff. Let's keep things that way, but > without the interface. > > BR, > Jani. This all looks good to me also, so with the update to patch 5 Reviewed-by: Bob Paauwe > > Jani Nikula (7): > drm/i915/dsi: remove support for m

Re: [Intel-gfx] [PATCH RESEND 1/4] drm/i915/opregion: bail out early for systems with no opregion VBT

2017-03-29 Thread Bob Paauwe
On Wed, 29 Mar 2017 13:32:55 +0300 Jani Nikula wrote: > Reduce indent. No functional changes. > > Signed-off-by: Jani Nikula Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_opregion.c | 64 > +-- > 1 file changed, 32 insert

Re: [Intel-gfx] [PATCH RESEND 2/4] drm/i915/opregion: try to validate RVDA VBT only if it's there

2017-03-29 Thread Bob Paauwe
On Wed, 29 Mar 2017 13:32:56 +0300 Jani Nikula wrote: > Seems more sensible this way, and reduces indent for the more common > case. > > Signed-off-by: Jani Nikula Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_opregion.c | 41 > +---

Re: [Intel-gfx] [PATCH RESEND 3/4] drm/i915/opregion: debug log about invalid ACPI OpRegion VBT

2017-03-29 Thread Bob Paauwe
On Wed, 29 Mar 2017 13:32:57 +0300 Jani Nikula wrote: > Leave more breadcrumbs for debuggers. > > Signed-off-by: Jani Nikula Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_opregion.c | 4 > 1 file changed, 4 insertions(+) > > diff --gi

Re: [Intel-gfx] [PATCH RESEND 4/4] drm/i915/opregion: let user specify override VBT via firmware load

2017-03-29 Thread Bob Paauwe
f (!intel_load_vbt_firmware(dev_priv)) > + goto out; I find the condition a bit confusing. It reads to me as "if firmware not loaded, goto out" which is backwards from what it's really doing. Since you're ignoring the error return value anyway, making intel_loa

Re: [Intel-gfx] [PATCH RESEND 4/4] drm/i915/opregion: let user specify override VBT via firmware load

2017-03-30 Thread Bob Paauwe
On Thu, 30 Mar 2017 09:22:19 +0300 Jani Nikula wrote: > On Wed, 29 Mar 2017, Bob Paauwe wrote: > > On Wed, 29 Mar 2017 13:32:58 +0300 > > Jani Nikula wrote: > > > >> Sometimes it would be most enlightening to debug systems by replacing > >> the VBT to

Re: [Intel-gfx] [PATCH v2] drm/i915/bxt: add bxt dsi gpio element support

2016-12-20 Thread Bob Paauwe
sion == 2) > > @@ -328,11 +354,11 @@ static const u8 *mipi_exec_gpio(struct intel_dsi > > *intel_dsi, const u8 *data) > > value = *data++ & 1; > > > > if (IS_VALLEYVIEW(dev_priv)) > > - vlv_exec_gpio(dev_priv, gpio_so

Re: [Intel-gfx] [PATCH v2] drm/i915/bxt: add bxt dsi gpio element support

2016-12-21 Thread Bob Paauwe
On Wed, 21 Dec 2016 08:45:46 +0200 Mika Kahola wrote: > Hi Bob, > > On Tue, 2016-12-20 at 09:53 -0800, Bob Paauwe wrote: > > On Tue, 13 Dec 2016 16:11:20 +0200 > > Jani Nikula wrote: > > > > > > > > On Mon, 05 Dec 2016, Mika Kahola

Re: [Intel-gfx] [PATCH v2 09/15] drm/i915: Ignore VBT int_crt_support on 830M

2014-06-06 Thread Bob Paauwe
On Fri, 6 Jun 2014 22:44:12 +0300 wrote: > From: Ville Syrjälä > > My Fujitsu-Siemens Lifebook S6010 definitely has a VGA connector, but > the VBT says different. Ignore the VBT for 830M since it seems such > old machines would generally have a VGA connector. > > This is a regression caused by

[Intel-gfx] [PATCH 0/2] Sprite plane gamma on/off property.

2014-02-27 Thread Bob Paauwe
Add the infrastructure to support plane properties in the intel_plane structure. Then use that infrastructure to add a property that controls wether gamma correction is applied to a plane. The default value is to enable gamma correction on the planes to match the previous behavior. Bob Paauwe (2

[Intel-gfx] [PATCH 2/2] Add gamma property to sprite planes.

2014-02-27 Thread Bob Paauwe
(Matt) Add enum definitions for sprite gamma enable/disable v3: Rename property name to "Sprite Gamma Enabled" (Matt) Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_drv.h | 5 + drivers/gpu/drm/i915/intel_drv.h| 6 ++ drivers/gp

[Intel-gfx] [PATCH 1/2] Add set_property stub for plane properties.

2014-02-27 Thread Bob Paauwe
Hook up the set_property function pointer to a stub function. The function will be populated once actual plane properties are created. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_sprite.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH] !SQUASH drm/i915: Do not dereference pointers from ring buffer in evict event

2014-03-18 Thread Bob Paauwe
There isn't a 'dev' variable that can be referenced here. Use vm->dev instead. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/

Re: [Intel-gfx] [PATCH 4/5] drm/i915: Wrap the preallocated BIOS framebuffer and preserve for KMS fbcon

2013-11-13 Thread Bob Paauwe
On Wed, 13 Nov 2013 10:20:47 -0800 Jesse Barnes wrote: > Retrieve current framebuffer config info from the regs and create an fb > object for the buffer the BIOS or boot loader left us. This should > allow for smooth transitions to userspace apps once we finish the > initial configuration constr

Re: [Intel-gfx] [PATCH 3/5] drm/i915: retrieve current fb config into new plane_config structure at init v2

2013-11-14 Thread Bob Paauwe
int bpp; > + bool tiled; > + int base, offset; > + int fb_width, fb_height; > + int pipe_width, pipe_height; > + int pitch; > + int size; > + struct drm_i915_gem_object *obj; > +}; > + > struct intel_crtc_config { > /** >*

Re: [Intel-gfx] [PATCH v2] drm/i915: add i915 specific connector debugfs file for DPCD

2015-04-01 Thread Bob Paauwe
ecific just because there's no generic way to > do AUX transactions given just a drm_connector. However it's all pretty > straightforward to port to other drivers. > > v2: Add more DPCD registers to dump. > > Signed-off-by: Jani Nikula Reviewed-by: Bob

[Intel-gfx] [RFC 05/10] drm/i915/config: Add init-time configuration of DP max link rate.

2015-04-13 Thread Bob Paauwe
If the sink does not provide a maximum link rate, then check the connector configuration before defaulting to the lowest allowed link rate. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_dp.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers

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

2015-04-13 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). v2: Use connector->base.name for connector name (Jani) Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_display.c |

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

2015-04-13 Thread Bob Paauwe
firmware on shutdown (Bob) Free allocated intel_config_info on shutdown (Bob) Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/Makefile | 3 +- drivers/gpu/drm/i915/i915_dma.c | 4 + drivers/gpu/drm/i915/i915_drv.h | 17 ++ drivers/gpu/drm/i915/i915_params.c |

[Intel-gfx] [RFC 06/10] drm/i915/config: Add init-time configuration of eDP PPS delays.

2015-04-13 Thread Bob Paauwe
Allow the configuration file to overide the various panel power sequence delay values. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_dp.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index

[Intel-gfx] [RFC 10/10] drm/i915/config: An example/test ACPI property table.

2015-04-13 Thread Bob Paauwe
This is an example of what an ACPI property table looks like. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915-properties.asl | 167 +++ 1 file changed, 167 insertions(+) create mode 100644 drivers/gpu/drm/i915/i915-properties.asl diff --git a/drivers/gpu

[Intel-gfx] [RFC 03/10] drm/i915/config: Add init-time configuration of general connector properties.

2015-04-13 Thread Bob Paauwe
Set the initial value of the force audio and broadcast rgb properties using property values found in the init-time configuration. v2: Use drm connector name (Jani) Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_modes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[Intel-gfx] [RFC 09/10] drm/i915: Add backlight max and level to debugfs output.

2015-04-13 Thread Bob Paauwe
To allow us to verify the current backlight max and level values. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_debugfs.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index a9b96fd..2bac3bc 100644

[Intel-gfx] [RFC 04/10] drm/i915/config: Add init-time configuration of dp panel fitter property.

2015-04-13 Thread Bob Paauwe
Use the init-time configuration setting for scaling_mode to set the initial value of the scaling_mode connector property. v2: Use drm connector name (Jani) Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_dp.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a

[Intel-gfx] [RFC 08/10] drm/i915: Add PPS delay values to debugfs.

2015-04-13 Thread Bob Paauwe
So that we verify which values are currently in use. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_debugfs.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 2394924

[Intel-gfx] [RFC 07/10] drm/i915/config: Add init-time configuration of eDP backlight settings.

2015-04-13 Thread Bob Paauwe
Allow the configuration file to overide the backlight max and level settings. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_panel.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c index d8686ce

[Intel-gfx] [RFC 00/10] i915 init-time configuration (v2)

2015-04-13 Thread Bob Paauwe
m_i915.aml for testing the code. Bob Paauwe (10): drm/i915/config: Initial framework drm/i915/config: Add init-time configuration of bits per color. drm/i915/config: Add init-time configuration of general connector properties. drm/i915/config: Add init-time configuration of dp pa

[Intel-gfx] [PATCH] drm/i915: Don't initialize pipe config after choosing DPLLs.

2014-11-07 Thread Bob Paauwe
Date: Wed Oct 29 11:32:36 2014 +0200 drm/i915: Covert remaining platforms to choose DPLLS before disabling CRTCs Signed-off-by: Bob Paauwe CC: Ander Conselvan de Oliveira --- drivers/gpu/drm/i915/intel_display.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions

Re: [Intel-gfx] [PATCH] drm/i915: Don't initialize pipe config after choosing DPLLs.

2014-11-10 Thread Bob Paauwe
On Mon, 10 Nov 2014 12:40:47 +0200 Ville Syrjälä wrote: > On Fri, Nov 07, 2014 at 04:07:50PM -0800, Bob Paauwe wrote: > > The pipe config needs to be initialized before calling crtc_compute_clock > > since this will update the new_config structure DPLL values. Initializing >

[Intel-gfx] [PATCH] drm/i915: Use correct pipe config to update pll dividers.

2014-11-10 Thread Bob Paauwe
disabling crtcs and commit 00d958817dd3daaa452c221387ddaf23d1e4c06f Author: Ander Conselvan de Oliveira Date: Wed Oct 29 11:32:36 2014 +0200 drm/i915: Covert remaining platforms to choose DPLLS before disabling CRTCs Signed-off-by: Bob Paauwe CC: Ander

[Intel-gfx] [PATCH] drm/i915: Use correct pipe config to update pll dividers. V2

2014-11-11 Thread Bob Paauwe
look at new configuration - Ander Signed-off-by: Bob Paauwe CC: Ander Conselvan de Oliveira --- drivers/gpu/drm/i915/intel_display.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Allow intel_plane_disable() to operate on all plane types

2014-11-13 Thread Bob Paauwe
On Thu, 13 Nov 2014 10:43:21 -0800 Matt Roper wrote: > We'll want to call this from the type-agnostic atomic plane helper > hooks. Since it's not sprite-specific anymore, more it to > intel_display.c as well. > > Signed-off-by: Matt Roper > --- > drivers/gpu/drm/i915/intel_display.c | 21

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Allow intel_plane_disable() to operate on all plane types

2014-11-13 Thread Bob Paauwe
On Thu, 13 Nov 2014 11:12:01 -0800 Matt Roper wrote: > On Thu, Nov 13, 2014 at 11:11:38AM -0800, Bob Paauwe wrote: > > On Thu, 13 Nov 2014 10:43:21 -0800 > > Matt Roper wrote: > > > > > We'll want to call this from the type-agnostic atomic plane helper

Re: [Intel-gfx] [PATCH 5/7] drm/i915: Prepare for atomic plane helpers

2014-11-13 Thread Bob Paauwe
On Thu, 13 Nov 2014 10:43:24 -0800 Matt Roper wrote: > Add the new driver entrypoints that will be called by the atomic plane > helpers. > > This patch does not actually switch over to the new plane helpers yet, > so there should be no functional change here. Also note that although > plane pro

Re: [Intel-gfx] [PATCH 1/7] drm/i915: Make intel_plane_state subclass drm_plane_state

2014-11-13 Thread Bob Paauwe
On Thu, 13 Nov 2014 10:43:20 -0800 Matt Roper wrote: > Signed-off-by: Matt Roper Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_display.c | 28 ++-- > drivers/gpu/drm/i915/intel_drv.h | 3 +-- > drivers/gpu/drm/i915/intel

Re: [Intel-gfx] [PATCH 4/7] drm/i915: Make intel_crtc_has_pending_flip() non-static

2014-11-13 Thread Bob Paauwe
On Thu, 13 Nov 2014 10:43:23 -0800 Matt Roper wrote: > We'll want to use this from the atomic plane helpers, so ensure it can > be called outside intel_display.c. > > Signed-off-by: Matt Roper Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_display.c |

Re: [Intel-gfx] [PATCH 3/7] drm/i915: Clarify sprite plane function names

2014-11-13 Thread Bob Paauwe
gt; call that intel_destroy_plane() did is unnecessary since the plane will > already be disabled due to framebuffer destruction by the point it gets > called. > > Signed-off-by: Matt Roper Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_display.c | 12 ++-

Re: [Intel-gfx] [PATCH 6/7] drm/i915: Switch plane handling to atomic helpers

2014-11-13 Thread Bob Paauwe
: igt/kms_universal_plane > Testcase: igt/kms_cursor_crc > Signed-off-by: Matt Roper With the above typo fixed this is Acknowledged-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_display.c | 255 > +-- > drivers/gpu/drm/i915/intel_sprite.c | 122 ++

Re: [Intel-gfx] [PATCH 7/7] drm/i915: Drop unused position fields

2014-11-13 Thread Bob Paauwe
src,dst} fields in intel_plane_state. Drop them. > > Signed-off-by: Matt Roper Reviewed-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_display.c | 16 > drivers/gpu/drm/i915/intel_drv.h | 6 -- > drivers/gpu/drm/i915/intel_sprite.c | 8 > 3 f

[Intel-gfx] [PATCH] drm/i915: Add the ddi get cdclk code for BXT.

2015-06-10 Thread Bob Paauwe
The registers and process differ from other platforms. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_display.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index c38c297

[Intel-gfx] [PATCH] drm/i915: Add the ddi get cdclk code for BXT (v3)

2015-06-23 Thread Bob Paauwe
state (Ville) Cc: Ville Syrjälä Cc: Imre Deak Cc: Matt Roper Signed-off-by: Bob Paauwe Signed-off-by: Matt Roper --- drivers/gpu/drm/i915/intel_display.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm

[Intel-gfx] [PATCH] drm/i915: Update rps frequencies for BXT

2015-06-25 Thread Bob Paauwe
Broxton is using a different register and different bit ordering for rps status capabilities. Also GT perf freqency register is different for Broxton so update that. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/i915_debugfs.c | 21 - drivers/gpu/drm/i915/i915_reg.h

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

2015-07-08 Thread Bob Paauwe
() will flag these zero'd out pipe/plane watermarks and throw errors. By not clearing all pipe/plane watermark values, only those that require changes are changed and the remaining stay unchanged. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_pm.c | 2 -- 1 file changed, 2 dele

[Intel-gfx] [PATCH 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes.

2015-08-27 Thread Bob Paauwe
Extend this to SKL and BXT as it's needed for these platforms as well. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c

[Intel-gfx] [PATCH 1/2] drm/i915/skl: Enable pipe gamma for sprite planes.

2015-08-27 Thread Bob Paauwe
primary plane and something displayed on a sprite plane when the ARGB format is used. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_sprite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index 9d8af2f

Re: [Intel-gfx] [PATCH 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes.

2015-08-28 Thread Bob Paauwe
On Fri, 28 Aug 2015 15:19:04 +0100 Daniel Stone wrote: > Hi Bob, > > On 27 August 2015 at 21:46, Bob Paauwe wrote: > > Extend this to SKL and BXT as it's needed for these platforms as well. > > > > Signed-off-by: Bob Paauwe > > --- > > drivers/gpu/

Re: [Intel-gfx] [PATCH 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes.

2015-08-28 Thread Bob Paauwe
On Fri, 28 Aug 2015 17:12:12 +0100 Daniel Stone wrote: > Hi, > > On 28 August 2015 at 16:55, Bob Paauwe wrote: > > On Fri, 28 Aug 2015 15:19:04 +0100 > > Daniel Stone wrote: > >> For both this and the previous patch, cf. the corresponding patch for > >

[Intel-gfx] [PATCH 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes. (v2)

2015-08-31 Thread Bob Paauwe
Extend this to SKL and BXT as it's needed for these platforms as well. v2: Change if condition to HAS_DDI() instead of listing each platform Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gp

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

2015-09-02 Thread Bob Paauwe
Damien, You reviewed v1 and then went on vacation for v2. Any chance you can review v2? Thanks, Bob On Tue, 21 Jul 2015 10:42:53 -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 t

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

2015-05-20 Thread Bob Paauwe
On Fri, 15 May 2015 12:39:20 +0300 Ville Syrjälä wrote: > On Tue, Feb 24, 2015 at 09:52:16PM +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: > > >

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

2015-05-26 Thread Bob Paauwe
On Thu, 21 May 2015 10:37:07 +0200 Daniel Vetter wrote: > On Wed, May 20, 2015 at 10:07:58AM -0700, Bob Paauwe wrote: > > On Fri, 15 May 2015 12:39:20 +0300 > > Ville Syrjälä wrote: > > > > > On Tue, Feb 24, 2015 at 09:52:16PM +0100, Daniel Vetter wrote: > &g

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

2014-12-18 Thread Bob Paauwe
specific value (0x00) The tiled bo is filled with a different value (0xff) If any bytes in the linear bo get written with 0xff, then the fence allowed writing beyond the tiled bo boundry. Signed-off-by: Bob Paauwe --- tests/Makefile.sources | 1 + tests/gem_tiled_fence_overflow.c | 134

<    1   2   3   >