Re: [Intel-gfx] [PATCH 00/19] ILK+ interrupt improvements

2014-01-23 Thread Daniel Vetter
On Thu, Jan 23, 2014 at 7:07 AM, Jani Nikula wrote: > On Wed, 22 Jan 2014, Daniel Vetter wrote: >> Just figured I'll comment on these two issues, patches themselves look >> really nice \o/ > > Look nice they do, but it also makes me a little sad that neither git > grep nor my source code tagging

Re: [Intel-gfx] Need your advice: Add a new communication inteface between HD-Audio and Gfx drivers for hotplug notification/ELD update

2014-01-23 Thread Daniel Vetter
On Thu, Jan 23, 2014 at 8:57 AM, Takashi Iwai wrote: >> Thanks for clarification! >> Maybe we can add output info (eg. display port number) to the eld entries >> under /proc/asound/cardx. Is it okay? > > It's possible, but the proc file is just a help. It can't be the > API. For accessing the i

Re: [Intel-gfx] [alsa-devel] Need your advice: Add a new communication inteface between HD-Audio and Gfx drivers for hotplug notification/ELD update

2014-01-23 Thread Jaroslav Kysela
Date 23.1.2014 08:57, Takashi Iwai wrote: > At Thu, 23 Jan 2014 06:35:12 +, > Lin, Mengdong wrote: >> >>> -Original Message- >>> From: Takashi Iwai [mailto:ti...@suse.de] >>> Sent: Thursday, January 23, 2014 1:19 AM >>> To: Daniel Vetter >>> Cc: Lin, Mengdong; Barnes, Jesse; Zanoni, Pau

Re: [Intel-gfx] [PATCH] tools: Allow building on Android after noinst_PROGRAMS is not defined any more

2014-01-23 Thread Damien Lespiau
On Wed, Jan 22, 2014 at 10:41:05AM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Looks like filter-out macro gets silently unhappy about an undefined variable. > > Signed-off-by: Tvrtko Ursulin Reviewed-by: Damien Lespiau and pushed. Thanks for the patch. -- Damien __

Re: [Intel-gfx] [PATCH] drm/i915: Add debugfs hooks for messign with watermark latencies

2014-01-23 Thread Damien Lespiau
On Wed, Jan 22, 2014 at 04:38:11PM +0200, Ville Syrjälä wrote: > On Wed, Jan 22, 2014 at 02:26:26PM +, Damien Lespiau wrote: > > On Wed, Jan 22, 2014 at 02:36:08PM +0200, ville.syrj...@linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > Add a few new debugfs files which allow ch

Re: [Intel-gfx] [PATCH 4/4] pm_rps: Require that cur reaches min at idle

2014-01-23 Thread Daniel Vetter
On Tue, Jan 21, 2014 at 05:14:34PM -0600, jeff.mc...@intel.com wrote: > From: Jeff McGee > > The current frequency should reach the minimum frequency within a > reasonable time during idle. We hold forcewake to prevent interference > from sleep states. > > Signed-off-by: Jeff McGee > --- > tes

Re: [Intel-gfx] [PATCH V4] drm/i915: VLV2 - Fix hotplug detect bits

2014-01-23 Thread Daniel Vetter
On Thu, Jan 23, 2014 at 12:13:41AM -0700, Todd Previte wrote: > Add new definitions for hotplug live status bits for VLV2 since they're > in reverse order from the gen4x ones. > > Changelog: > - Restored gen4 bit definitions > - Added new definitions for VLV2 > - Added platform check for IS_VALLEY

Re: [Intel-gfx] [PATCH V4] drm/i915: VLV2 - Fix hotplug detect bits

2014-01-23 Thread Daniel Vetter
On Thu, Jan 23, 2014 at 11:50:38AM +0100, Daniel Vetter wrote: > On Thu, Jan 23, 2014 at 12:13:41AM -0700, Todd Previte wrote: > > Add new definitions for hotplug live status bits for VLV2 since they're > > in reverse order from the gen4x ones. > > > > Changelog: > > - Restored gen4 bit definition

[Intel-gfx] [PATCH 05/10] drm/i915: Use 1/2 compression ratio limit for 16bpp on FBC2

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index c6e047e..a7af5b4 100644 --- a/drivers/gpu/dr

[Intel-gfx] [PATCH v2 08/10] drm/i915: Kill most of the FBC register save/restore

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä We will anyway re-enable FBC normally after resume, so trying to save and restore the register makes little sense. We do need to preserve the FBC1 interval bits in FBC_CONTROL since we only initialize them during driver load, and try to preserve them after that. v2: s/I915_H

[Intel-gfx] [PATCH 07/10] drm/i915: Don't preserve DPFC_CONTROL bits ILK/SNB

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä On CTG and IVB+ we don't try to preserve any bits from the DPFC_CONTROL register. Follow suit on ILK/SNB. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c

[Intel-gfx] [PATCH 09/10] drm/i915: Fix FBC1 enable message

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä The debug message telling FBC1 has been enabled is missing a newline. Add it. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm

[Intel-gfx] [PATCH 04/10] drm/i915: Improve FBC plane defines a bit

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä Make the FBC plane macros take the plane as a parameter. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_reg.h | 8 +++- drivers/gpu/drm/i915/intel_pm.c | 13 + 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/i915/

[Intel-gfx] [PATCH 06/10] drm/i915: Actually write the correct bits to DPFC_CONTROL on CTG

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä We set up all the bits for DPFC_CONTROL but forgot to actually write them to the register. Oops. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gp

[Intel-gfx] [PATCH 02/10] drm/i915: Don't set persistent FBC mode on ILK/SNB

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä The ILK/SNB docs are a bit unclear what the persistent mode does, but the CTG docs clearly state that it was meant to be used when we're tracking back buffer modifications. We never do that, so leave it in non-persistent mode. Signed-off-by: Ville Syrjälä --- drivers/gpu/dr

[Intel-gfx] [PATCH 00/10] drm/i915: Some less complex FBC fixes

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä Since fixing the FBC locking is a bigger task that will take a while, I decided to pull all the simple fixes from my branch and post them right away. Some of these I've posted before, some others have seen a bit of action by being in a public branch. The FBC_FENCE_OFF change

[Intel-gfx] [PATCH v3 01/10] drm/i915: Don't write IVB_FBC_RT_BASE

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä We use nuking instead of render tracking on IVB+, so there's no point in writing IVB_FBC_RT_BASE. v2: Drop the IVB_FBC_RT_BASE write too v3: Move the SNB stuff elsewhere, leaving only IVB+ here Acked-by: Chris Wilson Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i

[Intel-gfx] [PATCH 10/10] drm/i915: Fix FBC_FENCE_OFF

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä Having a 4 byte register at 0x321b seems unlikely as that's not 4 byte aligned. Since later platforms have more or less the same FBC registers with new names, assume that FBC_FENCE_OFF is at 0x3218 just like DPFC_FENCE_YOFF. This feels like a simple typo in BSpec. 321Bh looks

[Intel-gfx] [PATCH 03/10] drm/i915: Don't set DPFC_HT_MODIFY bit on CTG/ILK/SNB

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä The ILK/SNB docs don't really mention the the DPFC_HT_MODIFY bit. CTG docs clearly state that it should be set only when tracking back buffer modification in persistent mode. The bit is supposed to be set by software after the first CPU modification to the back buffer, and it

Re: [Intel-gfx] [PATCH] drm/i915: fix WRPLL clock calculation

2014-01-23 Thread Paulo Zanoni
2014/1/22 Jesse Barnes : > Forgot to convert to using the refclk variable when I added refclk > readout support, and Paulo noticed the resulting calculation was off due > to the way p & r are stored. > > Reported-by: Paulo Zanoni > Signed-off-by: Jesse Barnes Reviewed-by: Paulo Zanoni Tested-by

Re: [Intel-gfx] [PATCH 4/4] pm_rps: Require that cur reaches min at idle

2014-01-23 Thread Jeff McGee
On Thu, Jan 23, 2014 at 11:40:18AM +0100, Daniel Vetter wrote: > On Tue, Jan 21, 2014 at 05:14:34PM -0600, jeff.mc...@intel.com wrote: > > From: Jeff McGee > > > > The current frequency should reach the minimum frequency within a > > reasonable time during idle. We hold forcewake to prevent inter

[Intel-gfx] [PATCH] drm/i915: debugfs: Add support for probing DP sink CRC.

2014-01-23 Thread Rodrigo Vivi
This debugfs interface will allow intel-gpu-tools test case to verify if screen has been updated properly on cases like PSR. v2: Accepted all Daniel's suggestions: * grab modeset lock * loop over connector and check DPMS on * return errors * use _eDP1 suffix for easy future extensi

[Intel-gfx] [PATCH 2/4] drm/i915: move psr_setup_done to psr struct

2014-01-23 Thread Rodrigo Vivi
v2: Avoid more than one setup. Removing initialization and trusting allocation. (By Paulo Zanoni). Cc: Paulo Zanoni Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/intel_dp.c | 6 ++ drivers/gpu/drm/i915/intel_drv.h | 1 - 3 files changed, 3

[Intel-gfx] [PATCH 1/3] tests/kms_sink_crc_basic: Basic test to verify Sink CRC debugfs.

2014-01-23 Thread Rodrigo Vivi
Signed-off-by: Rodrigo Vivi --- tests/Android.mk | 1 + tests/Makefile.sources | 1 + tests/kms_sink_crc_basic.c | 201 + 3 files changed, 203 insertions(+) create mode 100644 tests/kms_sink_crc_basic.c diff --git a/tests/Android.mk

[Intel-gfx] [PATCH 3/3] test/pm_psr: Add Baytrail simple pm_psr test.

2014-01-23 Thread Rodrigo Vivi
Different from core PSR implementation (i.e. Haswell and Broadwell) Baytrail PSR can be enabled even when source is ok because it provides way to inactivate PSR whenever any screen updated is done. Baytrail also doesn't provide any kind of Performance Counters. Signed-off-by: Rodrigo Vivi --- te

[Intel-gfx] [PATCH 2/3] tests/kms_psr_sink_crc: Create test to test PSR by checking panel CRC.

2014-01-23 Thread Rodrigo Vivi
v2: Wait psr enable with timeout and more subtest added. Signed-off-by: Rodrigo Vivi --- tests/Android.mk | 1 + tests/Makefile.sources | 1 + tests/kms_psr_sink_crc.c | 508 +++ 3 files changed, 510 insertions(+) create mode 100644 test

[Intel-gfx] [PATCH 1/4] drm/i915: Set primary plane enable at dpcntrl.

2014-01-23 Thread Rodrigo Vivi
This patch allows system to safely recover after kms_psr_sink_crc check or any other similar case that might fail when PSR is enabled. Ville made and sent me this patch after noticing that primary plane enabled bit was set during test case and unset after failure. What was causing a hard and non-r

[Intel-gfx] [PATCH 3/4] drm/i915: Update PSR on resume.

2014-01-23 Thread Rodrigo Vivi
Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_suspend.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_suspend.c b/drivers/gpu/drm/i915/i915_suspend.c index 8150fdc..641faee 100644 --- a/drivers/gpu/drm/i915/i915_suspend.c +++ b/drivers/gpu/drm/i915/

[Intel-gfx] [PATCH 4/4] drm/i915: Add Baytrail PSR Support.

2014-01-23 Thread Rodrigo Vivi
This patch adds PSR Support to Baytrail. Baytrail cannot easily detect screen updates and force PSR exit. So we inactivate it on {busy_ioctl, set_domain, sw_finish and mark_busy and update to enable it back on next display mark_idle. v2: Also inactivate PSR on cursor update. v3: Inactivate PSR on

[Intel-gfx] [PATCH] drm/i915: Always pin the default context

2014-01-23 Thread Chris Wilson
Through a twisty and circuituous path it is possible to currently trick the code into creating a default context and forgetting to pin it immediately into the GGTT. (This requires a system using contexts without an aliasing ppgtt, which is currently restricted to Baytrails machines manually specify

Re: [Intel-gfx] [PATCH] drm/i915: Always pin the default context

2014-01-23 Thread Jesse Barnes
On Thu, 23 Jan 2014 18:30:02 + Chris Wilson wrote: > Through a twisty and circuituous path it is possible to currently trick > the code into creating a default context and forgetting to pin it > immediately into the GGTT. (This requires a system using contexts without > an aliasing ppgtt, whi

Re: [Intel-gfx] [PATCH 4/4] pm_rps: Require that cur reaches min at idle

2014-01-23 Thread Daniel Vetter
On Thu, Jan 23, 2014 at 11:15:42AM -0600, Jeff McGee wrote: > On Thu, Jan 23, 2014 at 11:40:18AM +0100, Daniel Vetter wrote: > > On Tue, Jan 21, 2014 at 05:14:34PM -0600, jeff.mc...@intel.com wrote: > > > From: Jeff McGee > > > > > > The current frequency should reach the minimum frequency within

[Intel-gfx] [PATCH] Fix LIBDRM_PATH for top android build

2014-01-23 Thread joao . santos
From: Joao Santos Changed TOP to ANDROID_BUILD_TOP to allow package to be compiled as part of a top build; LIBDRM_PATH changed to PATH_LIBDRM because otherwise it cannot be written to when in a top build (must be getting used in some other makefile). Issue: VIZ-3495 Signed-off-by: Joao Santos

Re: [Intel-gfx] [PATCH] drm/i915: fix WRPLL clock calculation

2014-01-23 Thread Daniel Vetter
On Thu, Jan 23, 2014 at 02:37:24PM -0200, Paulo Zanoni wrote: > 2014/1/22 Jesse Barnes : > > Forgot to convert to using the refclk variable when I added refclk > > readout support, and Paulo noticed the resulting calculation was off due > > to the way p & r are stored. > > > > Reported-by: Paulo Za

[Intel-gfx] [PATCH] drm/i915: Set primary plane enable at dpcntrl.

2014-01-23 Thread Rodrigo Vivi
This patch allows system to safely recover after kms_psr_sink_crc check or any other similar case that might fail when PSR is enabled. Ville made and sent me this patch after noticing that primary plane enabled bit was set during test case and unset after failure. What was causing a hard and non-r

[Intel-gfx] [PATCH] drm/i915: Add Baytrail PSR Support.

2014-01-23 Thread Rodrigo Vivi
This patch adds PSR Support to Baytrail. Baytrail cannot easily detect screen updates and force PSR exit. So we inactivate it on {busy_ioctl, set_domain, sw_finish and mark_busy and update to enable it back on next display mark_idle. v2: Also inactivate PSR on cursor update. v3: Inactivate PSR on

Re: [Intel-gfx] [PATCH] drm/i915: Always pin the default context

2014-01-23 Thread Ben Widawsky
On Thu, Jan 23, 2014 at 06:30:02PM +, Chris Wilson wrote: > Through a twisty and circuituous path it is possible to currently trick > the code into creating a default context and forgetting to pin it > immediately into the GGTT. (This requires a system using contexts without > an aliasing ppgtt

[Intel-gfx] [PATCH] drm/i915: Redoing the PSR setup on resume

2014-01-23 Thread Ramalingam C
Due to switch between console and graphics modes multiple psr_enable call will be made. On such occasions, to avoid repeated psr_setup, a flag called psr_setup_done is used. On suspend-resume, panel goes for a power cycle. Hence PSR setup should be redone to enable the PSR after suspend-resume. So

[Intel-gfx] [PATCH] drm/i915: Always pin the default context

2014-01-23 Thread Chris Wilson
Through a twisty and circuituous path it is possible to currently trick the code into creating a default context and forgetting to pin it immediately into the GGTT. (This requires a system using contexts without an aliasing ppgtt, which is currently restricted to Baytrails machines manually specify

Re: [Intel-gfx] [PATCH 00/10] drm/i915: Some less complex FBC fixes

2014-01-23 Thread Chris Wilson
On Thu, Jan 23, 2014 at 04:49:07PM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Since fixing the FBC locking is a bigger task that will take a while, > I decided to pull all the simple fixes from my branch and post them > right away. > > Some of these I've posted before,

Re: [Intel-gfx] [PATCH 03/28] drm/i915: WaPsdDispatchEnable seems to be another name for WaDisablePSDDualDispatchEnable

2014-01-23 Thread Rodrigo Vivi
Reviewed-by: Rodrigo Vivi On Wed, Jan 22, 2014 at 5:32 PM, wrote: > From: Ville Syrjälä > > The w/a database lists both WaPsdDispatchEnable and > WaDisablePSDDualDispatchEnable for VLV. They appear to be the same > thing, so list both names. > > Signed-off-by: Ville Syrjälä > --- > drivers/g

Re: [Intel-gfx] [PATCH 02/28] drm/i915: We implement WaEnableVGAAccessThroughIOPort:ctg, elk, ilk, snb, ivb, vlv, hsw

2014-01-23 Thread Rodrigo Vivi
Reviewed-by: Rodrigo Vivi On Wed, Jan 22, 2014 at 5:32 PM, wrote: > From: Ville Syrjälä > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/i915/intel_display.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/i915/intel_display.c > b/drivers/gpu/drm/i915/intel_

Re: [Intel-gfx] [PATCH 01/28] drm/i915: We implement WaDisableL3Bank2xClockGate:vlv

2014-01-23 Thread Rodrigo Vivi
Reviewed-by: Rodrigo Vivi On Wed, Jan 22, 2014 at 5:32 PM, wrote: > From: Ville Syrjälä > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/i915/intel_pm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c > index

Re: [Intel-gfx] [PATCH 4/4] pm_rps: Require that cur reaches min at idle

2014-01-23 Thread Jeff McGee
On Thu, Jan 23, 2014 at 07:49:20PM +0100, Daniel Vetter wrote: > On Thu, Jan 23, 2014 at 11:15:42AM -0600, Jeff McGee wrote: > > On Thu, Jan 23, 2014 at 11:40:18AM +0100, Daniel Vetter wrote: > > > On Tue, Jan 21, 2014 at 05:14:34PM -0600, jeff.mc...@intel.com wrote: > > > > From: Jeff McGee > > >

Re: [Intel-gfx] [PATCH 04/28] drm/i915: We implement WaDisableL3CacheAging:vlv

2014-01-23 Thread Rodrigo Vivi
On Wed, Jan 22, 2014 at 5:32 PM, wrote: > From: Ville Syrjälä > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/i915/intel_pm.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c > index 6c0a10a..0

Re: [Intel-gfx] [PATCH 04/28] drm/i915: We implement WaDisableL3CacheAging:vlv

2014-01-23 Thread Ville Syrjälä
On Thu, Jan 23, 2014 at 06:25:26PM -0200, Rodrigo Vivi wrote: > On Wed, Jan 22, 2014 at 5:32 PM, wrote: > > From: Ville Syrjälä > > > > Signed-off-by: Ville Syrjälä > > --- > > drivers/gpu/drm/i915/intel_pm.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/driv

Re: [Intel-gfx] linux-next: manual merge of the drm-intel tree with the drm tree

2014-01-23 Thread Olof Johansson
On Wed, Jan 22, 2014 at 5:21 PM, Olof Johansson wrote: > On Wed, Jan 22, 2014 at 2:06 AM, Daniel Vetter wrote: >> Hi Stephen, >> >> On Wed, Jan 22, 2014 at 4:04 AM, Stephen Rothwell >> wrote: >>> Hi all, >>> >>> Today's linux-next merge of the drm-intel tree got a conflict in >>> drivers/gpu/dr

[Intel-gfx] [PATCH 0/3] drm/i915: "Fix" g4x infoframes w/ multiple HDMI/DVI monitors

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä I was readin the infoframe code a bit today, and noticed that g4x can't transmit infoframes to more than one port, even though it can have two HDMI/DVI ports. So I decided to "fix" it by making it work on a first come, first served basis. This at least makes it reasonable to

[Intel-gfx] [PATCH 2/3] drm/i915: Convert DIP port switch cases to a simple macro

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä We have a couple of switch cases to compute the port value for the VIDEO_DIP_CTL register. Replace them with a simple macro. We do lose a few BUG() calls, but many people may consider that an improvement. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_reg.h |

[Intel-gfx] [PATCH 1/3] drm/i915: Add encoder .off() hook

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä Add an encoder specific hook to be called alongside the crtc .off() hook. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_display.c | 5 + drivers/gpu/drm/i915/intel_drv.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_d

[Intel-gfx] [PATCH 3/3] drm/i915: Make infoframe trnsmission more reliable on g4x

2014-01-23 Thread ville . syrjala
From: Ville Syrjälä On g4x there's just one video DIP, but there can be two HDMI/DVI ports. Currently even a DVI monitor on another port can clobber the infoframes meant for a real HDMI monitor on the other port. Make sure we only ever send DIPs to one port. The first port with a HDMI sink to ge

[Intel-gfx] [PATCH 4/4 v2] pm_rps: Require that cur reaches min at idle

2014-01-23 Thread jeff . mcgee
From: Jeff McGee The current frequency should reach the minimum frequency within a reasonable time during idle. v2: Not using forcewake for this particular subtest per Daniel's suggestion. Signed-off-by: Jeff McGee --- tests/pm_rps.c | 22 ++ 1 file changed, 18 inserti

[Intel-gfx] [PATCH] drm/i915: Decouple GPU error reporting from ring initialisation

2014-01-23 Thread Chris Wilson
Currently we report through our error state only the rings that have been initialised (as detected by ring->obj). This check is done after the GPU reset and ring re-initialisation, which means that the software state may not be the same as when we captured the hardware error and we may not print ou

[Intel-gfx] [PATCH] drm/i915: Include HW status page in error capture

2014-01-23 Thread Chris Wilson
Many times in the past we have concluded that the cause of the GPU hang has been that the hw status page was stale, usually because the GPU and CPU disagreed over the address of the page. Having stumbled across yet another issue that seems to be related to the HWSP, it is time to include that infor

Re: [Intel-gfx] [PATCH v5] ACPI: Fix acpi_evaluate_object() return value check

2014-01-23 Thread Rafael J. Wysocki
On Thursday, January 23, 2014 11:21:01 AM Bjorn Helgaas wrote: > On Wed, Jan 22, 2014 at 8:42 PM, Yijing Wang wrote: > > Since acpi_evaluate_object() returns acpi_status and not plain int, > > ACPI_FAILURE() should be used for checking its return value. Also > > add some detailed debug info when a

[Intel-gfx] [PATCH 1/5] drm/i915: Round up object allocations

2014-01-23 Thread Ben Widawsky
DRM gets very mad when you request an object which occupies a partial page. As a DRM driver, i915 never really wants to anger DRM, and would always just want the rounding done for us. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem.c | 2 ++ 1 file changed, 2 insertions(+) diff --