[Intel-gfx] [PATCH] drm/i915: Fixed bad refcounting on execbuf failures

2013-12-03 Thread Ben Widawsky
eb_destroy currently cleans up the refcounts for all the VMAs done at lookup. Currently eb_lookup_vmas cleans up all the *objects* we've looked up. There exists a period of time when we under severe memory pressure, the VMA creation will fail, and fall into our exit path. When the above event occu

[Intel-gfx] [PATCH v2] drm/i915: Propagate errors on failed PPGTT

2013-12-03 Thread Ben Widawsky
Clean up the return values/error handling so it's obvious what is going on. This was tripped over in the PPGTT branch where code was added to do a ret = foo() near the top, and this ended up bypassing some error cases later. These errors shouldn't exist with today's code, but a future patch will a

[Intel-gfx] [PATCH 1/3] ACPI/i915: Fix wrong inclusion in i915 opregion module.

2013-12-03 Thread Lv Zheng
In Linux kernel, ACPICA is wrapped and safely exported by CONFIG_ACPI. So all external modules should depend on CONFIG_ACPI rather than using ACPICA header directly for stubbing. But if we moves inclusions into "#ifdef CONFIG_ACPI", build breakge can help to detect wrong ACPICA dependent modules

Re: [Intel-gfx] [PATCH] drm/i915: Fix ordering of unbind vs unpin pages

2013-12-03 Thread Ben Widawsky
On Mon, Dec 02, 2013 at 10:08:02AM +, Chris Wilson wrote: > It is useful to assert that if the object is bound, then it must have > its pages pinned to prevent the shrinker from reaping its backing store. > This is even more useful with the introduction of real-ppgtt whereupon > we may have the

[Intel-gfx] [PATCH] drm/i915: Propagate errors on failed PPGTT

2013-12-03 Thread Ben Widawsky
Clean up the return values/error handling so it's obvious what is going on. This was tripped over in the PPGTT branch where code was added to do a ret = foo() near the top, and this ended up bypassing some error cases later. These errors shouldn't exist with today's code, but a future patch will a

Re: [Intel-gfx] [i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-03 Thread Paul Bolle
On Tue, 2013-12-03 at 16:19 +0100, Daniel Vetter wrote: > I'd like to confirm the actual cause (I suspect that we switch > pipes&planes around) for why you see this but other machines don't show > this to augment the commit message. But I've merged the fix already. The dmesg, up to and including t

[Intel-gfx] [PATCH IGT] tests: add pm_lpsp

2013-12-03 Thread Paulo Zanoni
From: Paulo Zanoni QA has asked me "How can we make sure LPSP is working?". Now, instead of writing big paragraphs, I can just answer "make sure pm_lpsp works". Signed-off-by: Paulo Zanoni --- tests/.gitignore | 1 + tests/Makefile.sources | 1 + tests/pm_lpsp.c| 275

Re: [Intel-gfx] [PATCH 0/9] drm/i915: Some more FBC stuff

2013-12-03 Thread Daniel Vetter
On Thu, Nov 21, 2013 at 09:29:44PM +0200, ville.syrj...@linux.intel.com wrote: > Another set of FBC patches, which should fit on top of the previous set: > "[PATCH 00/10] drm/i915: FBC fixes v2" > > The persistent mode and HT tracking bit stuff is a bit unclear in the docs, > but I can remove it a

Re: [Intel-gfx] [PATCH 7/9] drm: Push dirtyfb ioctl kms locking down to drivers

2013-12-03 Thread Daniel Vetter
On Thu, Nov 21, 2013 at 09:29:51PM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Not all drivers will need take all the modeset locks for dirtyfb, so > push the locking down to the drivers. > > Signed-off-by: Ville Syrjälä Yeah, makes tons of sense and has definitely st

Re: [Intel-gfx] [PATCH 7/8] drm/i915: Swap primary planes on gen2 for FBC

2013-12-03 Thread Daniel Vetter
On Fri, Nov 29, 2013 at 01:55:04PM +, Chris Wilson wrote: > On Thu, Nov 28, 2013 at 05:30:01PM +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Only plane A is FBC capable on gen2 (like gen3), but the panel fitter > > is hooked up to pipe B, so we want to prefer pip

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Set the digital port encoder personality during modeset

2013-12-03 Thread Daniel Vetter
On Tue, Dec 03, 2013 at 03:36:20PM -0200, Paulo Zanoni wrote: > From: Damien Lespiau > > The ->detect() vfunc of connectors is usually responsible for setting the > encoder type on intel_digital_ports when a hotplug event happens. > > However we sometimes want to force a modeset on a specific co

[Intel-gfx] [PATCH IGT] tests/kms_setmode: avoid 2 connectors on the same encoder

2013-12-03 Thread Paulo Zanoni
From: Paulo Zanoni Don't try to set modes on two connectors that share the same encoder. That will just fail. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68463 Signed-off-by: Paulo Zanoni --- tests/kms_setmode.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/te

[Intel-gfx] [PATCH 2/2] drm/i915: Set the digital port encoder personality during modeset

2013-12-03 Thread Paulo Zanoni
From: Damien Lespiau The ->detect() vfunc of connectors is usually responsible for setting the encoder type on intel_digital_ports when a hotplug event happens. However we sometimes want to force a modeset on a specific connector: - the user can ask the SETCRTC ioctl to use a connector that is

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Set the digital port encoder personality during modeset

2013-12-03 Thread Paulo Zanoni
2013/11/29 Damien Lespiau : > The ->detect() vfunc of connectors is usually responsible for setting the > encoder type on intel_digital_ports when a hotplug event happens. > > However we sometimes want to force a modeset on a specific connector: > - the user can ask the SETCRTC ioctl to use a con

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Introduce new intel_output_name()

2013-12-03 Thread Paulo Zanoni
2013/11/29 Damien Lespiau : > That we can use for debugging purposes. > > Signed-off-by: Damien Lespiau > --- > drivers/gpu/drm/i915/intel_display.c | 13 + > drivers/gpu/drm/i915/intel_drv.h | 1 + > 2 files changed, 14 insertions(+) > > diff --git a/drivers/gpu/drm/i915/intel_d

Re: [Intel-gfx] [PATCH] drm/i915: Skip clock checks on BDW

2013-12-03 Thread Daniel Vetter
On Mon, Dec 02, 2013 at 02:01:45PM +, Damien Lespiau wrote: > On Mon, Dec 02, 2013 at 11:23:39AM +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > We don't have clock state readout support for DDI, so skip the pipe > > config clock checks on all DDI platforms. > > >

[Intel-gfx] [i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-03 Thread Paul Bolle
On both v3.13-rc1 and v3.13-rc2 is see this at every boot and during every suspend and resume cycle: <4>[2.682468] WARNING: CPU: 0 PID: 173 at drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector+0x42/0x50 [i915]() <5>[2.682470] Modules linked in: i915(F+) ata_generic(

Re: [Intel-gfx] [i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-03 Thread Paul Bolle
On Sun, 2013-12-01 at 10:58 +0100, Daniel Vetter wrote: > Should be fixed with > > commit 7c063c725987406d743cc7de7625ff224fab75de > Author: Jesse Barnes > Date: Tue Nov 26 09:13:41 2013 -0800 > > drm/i915: take mode config lock around crtc disable at suspend > > which is currently in drm

Re: [Intel-gfx] [i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-03 Thread Paul Bolle
On Mon, 2013-12-02 at 15:23 +0100, Daniel Vetter wrote: > On Mon, Dec 2, 2013 at 10:53 AM, Paul Bolle wrote: > > This generated quite a bit of debug messages so I only copied the > > WARNING and the drm (related) messages immediately preceding it. Please > > feel free to prod again if that's insuf

Re: [Intel-gfx] [PATCH] drm/i915: Take modeset locks around intel_modeset_setup_hw_state()

2013-12-03 Thread Paul Bolle
On Mon, 2013-12-02 at 11:08 +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Some lower level things get angry if we don't have modeset locks > during intel_modeset_setup_hw_state(). Actually the resume and > lid_notify codepaths alreday hold the locks, but the init codepath

Re: [Intel-gfx] [PATCH] drm/i915: Take modeset locks around intel_modeset_setup_hw_state()

2013-12-03 Thread Paul Bolle
On Mon, 2013-12-02 at 14:12 +0200, Ville Syrjälä wrote: > On Mon, Dec 02, 2013 at 11:00:29AM +0100, Paul Bolle wrote: > > I assume I need to test this, on top of 7c063c725987 ("drm/i915: take > > mode config lock around crtc disable at suspend"), to see if this makes > > the WARNING that I current

Re: [Intel-gfx] [i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-03 Thread Paul Bolle
On Mon, 2013-12-02 at 08:33 +0100, Daniel Vetter wrote: > On Sun, Dec 1, 2013 at 5:57 PM, Paul Bolle wrote: > > The WARNING is now gone during suspend and resume (having tested that > > thoroughly - ie, twice). But I still see it at boot. Is there a related > > fix for that WARNING during boot? >

[Intel-gfx] Commit Message Tags for Testcases

2013-12-03 Thread Daniel Vetter
Hi all, Paulo poked me to make the testcase tag in the sob-section of commit messages official: Please mention testcases which exercise the new feature your patch adds or the bug it fixes with a tag in the sob-section of your commit message like this: Testcase: igt/kms_setmode/clone-exclusive-cr

Re: [Intel-gfx] [RFC] drm/i915: reference count batch object on requests

2013-12-03 Thread Daniel Vetter
On Mon, Dec 02, 2013 at 05:31:53PM +0200, Mika Kuoppala wrote: > We used to lean on active_list to handle the references > to batch objects. But there are useful cases when same, > albeit simple, batch can be executing on multiple rings > concurrently. For this case the active_list reference count

Re: [Intel-gfx] [PATCH 3/4] drm/i915: Remove if 0'ed static arrays

2013-12-03 Thread Daniel Vetter
On Tue, Dec 03, 2013 at 01:47:00PM +, Damien Lespiau wrote: > Sweeping some dead code away. > > Signed-off-by: Damien Lespiau This one and patch 1 merged to dinq, thanks. -Daniel > --- > drivers/gpu/drm/i915/intel_dp.c | 12 > 1 file changed, 12 deletions(-) > > diff --git a/

Re: [Intel-gfx] [PATCH] tests/gem_reset_stats: add close-pending-fork

2013-12-03 Thread Daniel Vetter
On Mon, Dec 02, 2013 at 06:32:51PM +0200, Mika Kuoppala wrote: > Chris Wilson writes: > > > On Mon, Dec 02, 2013 at 04:47:46PM +0200, Mika Kuoppala wrote: > >> Fork and create another filedesc to wait access to already > >> hung GPU and then kill it. This triggers use after free of the > >> reque

Re: [Intel-gfx] [PATCH 0/2] drmtest: Fix hanging child processes

2013-12-03 Thread Daniel Vetter
On Tue, Dec 03, 2013 at 04:44:53PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > It was observed both on Linux and Android that tests which > fork can sometimes hang failing to terminate child > processes. > > This was eventually tracked down to race conditions in C > library implement

Re: [Intel-gfx] [PATCH] build: Skip kms_fbc_crc on Android

2013-12-03 Thread Daniel Vetter
On Tue, Dec 03, 2013 at 04:06:51PM +, Tvrtko Ursulin wrote: > On Tue, 2013-12-03 at 15:40 +, Chris Wilson wrote: > > On Tue, Dec 03, 2013 at 03:35:41PM +, Tvrtko Ursulin wrote: > > > From: Tvrtko Ursulin > > > > > > We do not have GLib there so it does not build. > > > > What depende

[Intel-gfx] [PATCH 2/2] drmtest: Avoid wrong PID/TID after clone races

2013-12-03 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Various C library implementations have various races with regards to caching getpid() or TID inside pthread_kill() implementations. For example see clone(2) glibc man page and pthread_kill Bionic C library source. Work around that by making sure correct PID/TGID and TID val

[Intel-gfx] [PATCH 0/2] drmtest: Fix hanging child processes

2013-12-03 Thread Tvrtko Ursulin
From: Tvrtko Ursulin It was observed both on Linux and Android that tests which fork can sometimes hang failing to terminate child processes. This was eventually tracked down to race conditions in C library implementations, all with regards to caching of PID/TGID and TID values. Solution is to

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Remove the has_aux_irq = false code path in intel_dp_aux_ch()

2013-12-03 Thread Daniel Vetter
On Tue, Dec 03, 2013 at 01:07:46PM -0200, Paulo Zanoni wrote: > 2013/12/3 Damien Lespiau : > > has_aux_irq is initialized to true and never touched again these days. > > Just remove it along with the has_aux_irq = false code path. > > I have set "has_aux_irq" to false a few times in the last month

[Intel-gfx] [PATCH 1/2] Revert "lib/drmtest: ducttape over fork race"

2013-12-03 Thread Tvrtko Ursulin
From: Tvrtko Ursulin This reverts commit a031a1bf93b828585e7147f06145fc5030814547. Signed-off-by: Tvrtko Ursulin Conflicts: lib/drmtest.c --- lib/drmtest.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/lib/drmtest.c b/lib/drmtest.c index 94fa686..dcacd3b 100644 --- a/

Re: [Intel-gfx] WARNING at intel_display.c:9948 during suspend

2013-12-03 Thread Daniel Vetter
On Mon, Dec 02, 2013 at 11:27:50PM +0100, Jiri Kosina wrote: > I am getting this during suspend with latest Linus' git (HEAD == af91706). > > [ cut here ] > WARNING: CPU: 0 PID: 5397 at drivers/gpu/drm/i915/intel_display.c:9948 > intel_get_pipe_from_connector+0x4a/0x50

Re: [Intel-gfx] [PATCH] drm/i915: Do not clobber config status after a forced restore of hw state

2013-12-03 Thread Daniel Vetter
On Mon, Dec 02, 2013 at 05:39:09PM +, Chris Wilson wrote: > We call intel_modeset_setup_hw_state() along two paths, driver > load/resume and after a lid event notification. During initialisation of > the driver, it is imperative that we reset the config state. This > correctly sets up the initi

Re: [Intel-gfx] [PATCH] build: Make sure asserts are enabled for tests

2013-12-03 Thread Daniel Vetter
On Tue, Dec 03, 2013 at 03:09:57PM +, tvrtko.ursu...@linux.intel.com wrote: > From: Tvrtko Ursulin > > Tests depend on assertions being enabled since they can, and do, > contain actual test steps. They are also mandatory for ensuring > sane test case behaviour. > > Signed-off-by: Tvrtko Ursu

Re: [Intel-gfx] [PATCH] build: Skip kms_fbc_crc on Android

2013-12-03 Thread Tvrtko Ursulin
On Tue, 2013-12-03 at 15:40 +, Chris Wilson wrote: > On Tue, Dec 03, 2013 at 03:35:41PM +, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin > > > > We do not have GLib there so it does not build. > > What dependence on GLib would that be? Haven't looked further than the header it includes

[Intel-gfx] [PATCH v2 6/6] drm/i915: Determine the stolen memory base address on gen2

2013-12-03 Thread ville . syrjala
From: Ville Syrjälä There isn't an explicit stolen memory base register on gen2. Some old comment in the i915 code suggests we should get it via max_low_pfn_mapped, but that's clearly a bad idea on my MGM. The e820 map in said machine looks like this: [0.00] BIOS-e820: [mem 0x000

[Intel-gfx] [PATCH 5/6] drm/i915: Don't clobber the GTT when it's within stolen memory

2013-12-03 Thread ville . syrjala
From: Ville Syrjälä On most gen2-4 platforms the GTT can be (or maybe always is?) inside the stolen memory region. If that's the case, reduce the size of the stolen memory appropriately to make make sure we don't clobber the GTT. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_gem_s

[Intel-gfx] [PATCH 0/6] drm/i915: Gen2 stolen/local memory support (v2)

2013-12-03 Thread ville . syrjala
Another attempt at figuring out stolen memory for gen2. This time instead of trusting the GTT base address, I used the same method the BIOS uses. (TOM-TSEG_SIZE-stolen_size). Except on 865G where things are more complicated. Fortunately it seems to have a simlple answer for us in the for om the TOU

[Intel-gfx] [PATCH v2 2/6] x86: Add Intel graphics stolen memory quirk for gen2 platforms

2013-12-03 Thread ville . syrjala
From: Ville Syrjälä There isn't an explicit stolen memory base register on gen2. Some old comment in the i915 code suggests we should get it via max_low_pfn_mapped, but that's clearly a bad idea on my MGM. The e820 map in said machine looks like this: [0.00] BIOS-e820: [mem 0x000

[Intel-gfx] [PATCH 3/6] x86: Print the Intel graphcis stolen memory range

2013-12-03 Thread ville . syrjala
From: Ville Syrjälä Print an informative message when reserving the graphics stolen memory region in the early quirk. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Ville Syrjälä --- arch/x86/kernel/early-quirks.c

[Intel-gfx] [PATCH 4/6] intel-gtt: Report stolen_size as 0 when local memory is present

2013-12-03 Thread ville . syrjala
From: Ville Syrjälä We don't have proper support for local memory elsewhere in the code, and seeing as no-one seems to have ever seen a system which has local memory, just report stolen_size as 0 when local memory is detected. Add a big WARN to alert us if someone were to stumble on one of these

[Intel-gfx] [PATCH 1/6] x86: Add vfunc for Intel graphics stolen memory base address

2013-12-03 Thread ville . syrjala
From: Ville Syrjälä For gen2 devices we're going to need another way to determine the stolen memory base address. Make that into a vfunc as well. Also drop the bogus inline keyword from gen8_stolen_size(). Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: linux

Re: [Intel-gfx] [PATCH] build: Skip kms_fbc_crc on Android

2013-12-03 Thread Chris Wilson
On Tue, Dec 03, 2013 at 03:35:41PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > We do not have GLib there so it does not build. What dependence on GLib would that be? -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ Intel-gf

[Intel-gfx] [PATCH] build: Skip kms_fbc_crc on Android

2013-12-03 Thread Tvrtko Ursulin
From: Tvrtko Ursulin We do not have GLib there so it does not build. Signed-off-by: Tvrtko Ursulin --- tests/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Android.mk b/tests/Android.mk index ec64acd..c96f30a 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -65,6 +

Re: [Intel-gfx] [i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-03 Thread Daniel Vetter
On Mon, Dec 02, 2013 at 07:05:25PM +0100, Paul Bolle wrote: > On Mon, 2013-12-02 at 15:23 +0100, Daniel Vetter wrote: > > On Mon, Dec 2, 2013 at 10:53 AM, Paul Bolle wrote: > > > This generated quite a bit of debug messages so I only copied the > > > WARNING and the drm (related) messages immediat

[Intel-gfx] [PATCH] build: Make sure asserts are enabled for tests

2013-12-03 Thread tvrtko . ursulin
From: Tvrtko Ursulin Tests depend on assertions being enabled since they can, and do, contain actual test steps. They are also mandatory for ensuring sane test case behaviour. Signed-off-by: Tvrtko Ursulin --- lib/check-ndebug.h | 3 +++ tests/Android.mk | 2 +- tests/Makefile.am | 1 + 3 f

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Remove the has_aux_irq = false code path in intel_dp_aux_ch()

2013-12-03 Thread Paulo Zanoni
2013/12/3 Damien Lespiau : > has_aux_irq is initialized to true and never touched again these days. > Just remove it along with the has_aux_irq = false code path. I have set "has_aux_irq" to false a few times in the last months to debug things, like the PC8 interrupts. I'm not sure how much we gai

[Intel-gfx] [PATCH 2/4] drm/i915: Remove the has_aux_irq = false code path in intel_dp_aux_ch()

2013-12-03 Thread Damien Lespiau
has_aux_irq is initialized to true and never touched again these days. Just remove it along with the has_aux_irq = false code path. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_dp.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/gpu

[Intel-gfx] [PATCH 1/4] drm/i915: Fix copy/paste DP vs eDP error in comment

2013-12-03 Thread Damien Lespiau
It's all about tiny details. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_ddi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index c8382f5..c8a5fb7 100644 --- a/drivers/gpu/drm/i915/intel_d

[Intel-gfx] [PATCH 3/4] drm/i915: Remove if 0'ed static arrays

2013-12-03 Thread Damien Lespiau
Sweeping some dead code away. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_dp.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 7a825db..07fcc9e 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +

[Intel-gfx] [PATCH 4/4] drm/i915: Cleanup the DP_AUX_CTL macros

2013-12-03 Thread Damien Lespiau
Let's use a less verbose version to fill the DP_AUX_CTL register. Improves the readability a little bit. Also sort the fields by their place in the register. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/i915_reg.h | 8 drivers/gpu/drm/i915/intel_dp.c | 18 +-

[Intel-gfx] Some DisplayPort clean-ups

2013-12-03 Thread Damien Lespiau
While cruising in intel_dp.c, a few things caught my eye. -- Damien ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 4/6] drm/i915: use __packed instead of __attribute__((packed))

2013-12-03 Thread Damien Lespiau
On Mon, Dec 02, 2013 at 11:26:09AM -0200, Rodrigo Vivi wrote: > From: Jani Nikula > > Checkpatch tells me > > WARNING: __packed is preferred over __attribute__((packed)) > > so switch over to __packed across the driver before adding new packed > structs. > > Signed-off-by: Jani Nikula > Signe

Re: [Intel-gfx] [PATCH] drm/i915: Clear out old GT FIFO errors in intel_uncore_early_sanitize()

2013-12-03 Thread Chris Wilson
On Tue, Dec 03, 2013 at 11:30:09AM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > The BIOS or someone else might have done something bad and there > might be old GT FIFO erros reported in GTFIFODBG. Clear those out > in intel_uncore_early_sanitize() to make sure we don't mi

[Intel-gfx] [PATCH] drm/i915: Clear out old GT FIFO errors in intel_uncore_early_sanitize()

2013-12-03 Thread ville . syrjala
From: Ville Syrjälä The BIOS or someone else might have done something bad and there might be old GT FIFO erros reported in GTFIFODBG. Clear those out in intel_uncore_early_sanitize() to make sure we don't mistake them for our problems. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/int