On Fri, Jul 11, 2014 at 09:56:35AM +0530, Deepak S wrote:
On Wednesday 09 July 2014 05:33 PM, Daniel Vetter wrote:
On Thu, Jul 10, 2014 at 01:16:23PM +0530, deepa...@linux.intel.com wrote:
From: Deepak S deepa...@linux.intel.com
Since freq/encode conversion formula changes from platform to
On Wed, Jul 09, 2014 at 05:35:52PM +0100, Damien Lespiau wrote:
On Fri, Jul 04, 2014 at 11:59:58AM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
On HSW, the D_COMP register can be accessed through the mailbox (read
and write) or through MMIO on a MCHBAR offset
On Wed, Jul 09, 2014 at 02:02:27PM -0700, Ben Widawsky wrote:
On Wed, Jul 09, 2014 at 02:31:57PM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
Otherwise we will print some WARNs when we read registers and the
machine is suspended.
Do all register reads really
On Wed, Jul 09, 2014 at 04:22:10PM -0700, Matt Roper wrote:
intel_primary_plane_{setplane,disable} were lacking struct_mutex locking
around their GEM operations.
Signed-off-by: Matt Roper matthew.d.ro...@intel.com
Both merged with a reported-by: Damien added to this one here. Btw have
you
On Thursday 10 July 2014 11:58 AM, Daniel Vetter wrote:
On Fri, Jul 11, 2014 at 09:56:35AM +0530, Deepak S wrote:
On Wednesday 09 July 2014 05:33 PM, Daniel Vetter wrote:
On Thu, Jul 10, 2014 at 01:16:23PM +0530, deepa...@linux.intel.com wrote:
From: Deepak S deepa...@linux.intel.com
Since
Whilst I strongly advise against doing so for the implicit coherency
issues between the multiple buffer objects accessing the same backing
store, it nevertheless is a valid use case, akin to mmaping the same
file multiple times.
The reason why we forbade it earlier was that our use of the
On Wed, Jul 09, 2014 at 06:00:48PM -0700, Daisy Sun wrote:
BDW supports GT C0 residency reporting in constant time unit. Driver
calculates
GT utilization based on C0 residency and adjusts RP frequency up/down
accordingly.
This explanation is a bit thin on the ground for why you want to run
Jerome Glisse pointed out that get_user_pages() does not synchronize
with concurrent invalidations of the VMA. As such if the backing vma is
changed whilst the pages for the object are being grabbed for use by the
GPU, we may end up with a random mixture of page references being held.
Worse still
Whilst I strongly advise against doing so for the implicit coherency
issues between the multiple buffer objects accessing the same backing
store, it nevertheless is a valid use case, akin to mmaping the same
file multiple times.
The reason why we forbade it earlier was that our use of the
On Thu, Jul 10, 2014 at 10:21:44AM +0100, Chris Wilson wrote:
Jerome Glisse pointed out that get_user_pages() does not synchronize
with concurrent invalidations of the VMA. As such if the backing vma is
changed whilst the pages for the object are being grabbed for use by the
GPU, we may end up
On 07/10/2014 10:21 AM, Chris Wilson wrote:
Whilst I strongly advise against doing so for the implicit coherency
issues between the multiple buffer objects accessing the same backing
store, it nevertheless is a valid use case, akin to mmaping the same
file multiple times.
The reason why we
On 07/10/2014 10:21 AM, Chris Wilson wrote:
Jerome Glisse pointed out that get_user_pages() does not synchronize
with concurrent invalidations of the VMA. As such if the backing vma is
changed whilst the pages for the object are being grabbed for use by the
GPU, we may end up with a random
On Thu, Jul 10, 2014 at 01:26:53PM +0100, Tvrtko Ursulin wrote:
Too bad that on first overlapping object the whole process goes into
slow mode. I wonder what would benchmarking say to that.
Perhaps we could still use interval tree but add another layer of
indirection where ranges would be
We weren't returning straight away when failing to unload the driver, so
the test happilly executed gem_suspend and printed module successfully
loaded again.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/drv_module_reload | 5 ++---
1 file changed, 2 insertions(+), 3
Not sure if this was ABI, I vote for no, so just unbind everyone.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/drv_module_reload | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/drv_module_reload b/tests/drv_module_reload
index 66cd6bb..0e729d3
On Thu, Jul 10, 2014 at 02:17:43PM +0100, Damien Lespiau wrote:
Not sure if this was ABI, I vote for no, so just unbind everyone.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
Meh, this is very wrong, don't look at it.
---
tests/drv_module_reload | 7 +--
1 file changed, 5
C is super happy to asign anything pointer to void *. Don't pretend
otherwise.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
drivers/gpu/drm/i915/i915_dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_dma.c
We don't need them past the module initialization as the correct
structure is copied into dev_priv in -load(), called from
drm_pci_init(), called from the module init funtion.
I'm always hesitant about adding new members to struct intel_device_info
because it will add 30+ * sizeof(member) bytes
On Fri, Jul 04, 2014 at 01:38:33PM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
And get/put it when needed. The special thing about this commit is
that it will now return false in ibx_pch_dpll_get_hw_state() in case
the power domain is not enabled. This will fix
On Fri, Jul 04, 2014 at 01:38:34PM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
Just like we already do in haswell_get_pipe_config(). This should
prevent some WARNs when we run pm_rpm on SNB.
Testcase: igt/pm_rpm
Bugzilla:
On Fri, Jul 04, 2014 at 01:38:35PM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
Just like we do for the other encoders. This should fix some WARNs
when running pm_rpm on SNB.
Testcase: igt/pm_rpm
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80463
On Fri, Jul 04, 2014 at 11:27:38AM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
And get/put it when needed. The special thing about this commit is
that it will now return false in ibx_pch_dpll_get_hw_state() in case
the power domain is not enabled. This will fix
On Fri, Jul 04, 2014 at 11:27:39AM -0300, Paulo Zanoni wrote:
From: Daniel Vetter daniel.vet...@ffwll.ch
Still tacked onto the side, but slowly getting there.
v2: Don't forget the debugfs file.
v3 (from Paulo): Don't forget to check the power domains.
Signed-off-by: Daniel Vetter
On Fri, Jul 04, 2014 at 11:30:28AM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
Since we now have support for shared DPLLS.
Signed-off-by: Paulo Zanoni paulo.r.zan...@intel.com
Reviewed-by: Damien Lespiau damien.lesp...@intel.com
--
Damien
---
On Thu, Jul 10, 2014 at 03:47:55PM +0300, Mika Kuoppala wrote:
Textually the same so no harm was done and no warnings
from compiler either.
Signed-off-by: Mika Kuoppala mika.kuopp...@intel.com
Ship it!
(is there a patch 2/2?)
--
Damien
___
Damien Lespiau damien.lesp...@intel.com writes:
On Thu, Jul 10, 2014 at 03:47:55PM +0300, Mika Kuoppala wrote:
Textually the same so no harm was done and no warnings
from compiler either.
Signed-off-by: Mika Kuoppala mika.kuopp...@intel.com
Ship it!
Will do.
(is there a patch 2/2?)
On Fri, Jul 04, 2014 at 01:38:36PM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
We may reach this point while the machine is still runtime suspended,
so we'll hit a WARN. The other encoders also don't touch registers at
this point, so instead of waking the machine
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
lib/igt_kms.c | 45 -
1 file changed, 32 insertions(+), 13 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 4a8c394..666b0d0 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@
I've taken the current rotation test to test the kernel patches and improved it
a bit along the way. It's a bit like a detailed review, but with patches
instead of comments.
With the rotation kernel patches and an IVB machine, that test now passes.
Part of the motivation has been to augment the
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
lib/igt_kms.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index a079fc2..058114a 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -153,7 +153,7 @@ struct igt_display {
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
lib/igt_kms.c | 7 +++
lib/igt_kms.h | 10 ++
2 files changed, 17 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 5c8a3cc..87f5109 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -592,6 +592,7 @@ void
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
lib/igt_kms.c | 54 ++
lib/igt_kms.h | 11 +++
2 files changed, 65 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 87f5109..69f9977 100644
--- a/lib/igt_kms.c
+++
So one doesn't have to write the plane type all the time.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
lib/igt_kms.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 666b0d0..5c8a3cc 100644
--- a/lib/igt_kms.c
+++
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
lib/igt_kms.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index d34bcee..9e7bc2b 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -202,6 +202,9 @@ void igt_wait_for_vblank(int drm_fd, enum pipe
More of the same. This time no need to move code around, just adding
static.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
So we don't need code to unwind what we just did.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index f5a569a..1f2953d 100644
This results in less code, always a good thing. Also, we only really
need one reference CRC.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 89 +---
1 file changed, 32 insertions(+), 57 deletions(-)
diff --git
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 58852c2..ae0ca21 100644
--- a/tests/kms_rotation_crc.c
+++
So we don't need all that extra code to grab the drm_plane structure for
the primary_plane.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 70 +++-
1 file changed, 3 insertions(+), 67 deletions(-)
diff --git
From: Sonika Jindal sonika.jin...@intel.com
Testcase for 180 degree HW rotation
Cc: sagar.a.kam...@intel.com
Signed-off-by: Sonika Jindal sonika.jin...@intel.com
---
tests/Makefile.sources | 1 +
tests/kms_rotation_crc.c | 427 +++
2 files
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 485a6df..f5a569a 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index b079376..485a6df 100644
--- a/tests/kms_rotation_crc.c
+++
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index f062b52..341f7bc 100644
--- a/tests/kms_rotation_crc.c
+++
There's no need for this check, always use set_fb(NULL) on the plane.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index
Making function to the similar things is very common in programming.
Let's do it once again.
Cairo being a drawing library, it can be used to do the rotation!
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 65
A typical example of what comments shouldn't be:
case DRM_PLANE_TYPE_PRIMARY: /* primary */
Well, yes!, it's written just there, PRIMARY!
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Now that we're always using an igt_plane_t, we can get rid of -type to
use -directly without those switch() or if()/else
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 46 +++---
1 file changed, 11 insertions(+), 35
Otherwise the test will fail instead of just skipping.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 1f2953d..db1ad57 100644
---
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 9c194ce..eb63326 100644
--- a/tests/kms_rotation_crc.c
+++
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index db1ad57..9c194ce 100644
--- a/tests/kms_rotation_crc.c
+++
We don't use it anywhere else than the test function.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 30eb227..81d001b 100644
---
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 15529c7..58852c2 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@
The only difference is which plane we are talking about. So we really
need one function here with a paramater.
Well, almost. For the primary plane we need to ensure we support
unviversal planes.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 54
This happens when the kernel lacks the rotation patches.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 341f7bc..026c333 100644
---
One can inspect the output of the igt_kms API by setting
IGT_DISPLAY_WAIT_AT_COMMIT=1.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index
This variable is only needed for prepare_crtc(), need need to put it in
the test state.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/tests/kms_rotation_crc.c
prepare_crtc() was trying to commit a display state without any fb to
scan out...
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index d318cd2..5022b99
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 5780e40..cb1b00b 100644
--- a/tests/kms_rotation_crc.c
+++
The -1 meant we weren't properly filling the whole fb.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 5022b99..5780e40 100644
igt_pipe_crc_free() does that check already.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 75cfff8..d196c7c 100644
---
having everythin in the data_t structure makes it hard to understand
what should be set when. Replace that by explicit function parameters.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 31 +--
1 file changed, 17 insertions(+),
This restore the balance between prepare_crtc() and cleanup_crtc(), both
now taking the output as a parameter.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/kms_rotation_crc.c
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/.gitignore b/tests/.gitignore
index da9af6b..985afbd 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -126,6 +126,7 @@ kms_mmio_vs_cs_flip
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/Android.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/Android.mk b/tests/Android.mk
index 663a6b4..22f12ad 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -70,7 +70,8 @@ else
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index d196c7c..d318cd2 100644
--- a/tests/kms_rotation_crc.c
+++
Trying to disable the primary planes isn't exactly working at the
moment. W/A it until it works.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/tests/kms_rotation_crc.c
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 2005b2a..5041f90 100644
--- a/tests/kms_rotation_crc.c
+++
Turns out we didn't need most of them.
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
tests/kms_rotation_crc.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 9aacddd..2005b2a 100644
--- a/tests/kms_rotation_crc.c
New stuff caught.
Plus manually simplify the massive igt_fail_on_f(file == NULL, ...) to
a simple igt_assert(file). We already print the errno (if
applicapable) and the condition, which is equally informative.
Cc: Yi Sun yi@intel.com
Cc: Matt Roper matthew.d.ro...@intel.com
Cc: Wendy Wang
Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch
---
NEWS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/NEWS b/NEWS
index 33354f9d5360..1b5ee83ec849 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,12 @@ Release 1.8 (-xx-xx)
- Added lib/igt.cocci semantic patch to catch often-seen
GT is not going to run at a single frequency all the time actually. It
starts from a single frequency, and then will dynamically adjust
according to the GT utilization, either go up or down.
From this perspective, SW turbo function the same as the HW turbo.
For the algorithm, we did go over
On Thu, Jul 10, 2014 at 11:42:59AM -0700, Sun, Daisy wrote:
GT is not going to run at a single frequency all the time actually.
It starts from a single frequency, and then will dynamically adjust
according to the GT utilization, either go up or down.
From this perspective, SW turbo function
2014-07-10 10:52 GMT-03:00 Damien Lespiau damien.lesp...@intel.com:
We don't need them past the module initialization as the correct
structure is copied into dev_priv in -load(), called from
drm_pci_init(), called from the module init funtion.
I'm always hesitant about adding new members to
2014-07-10 10:52 GMT-03:00 Damien Lespiau damien.lesp...@intel.com:
C is super happy to asign anything pointer to void *. Don't pretend
otherwise.
Reviewed-by: Paulo Zanoni paulo.r.zan...@intel.com
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
drivers/gpu/drm/i915/i915_dma.c
Baytail, like Sandybridge+, also has the RPS registers which are useful
to monitor. In addition, we were missing the evaluation interval
registers so add those to all.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
---
drivers/gpu/drm/i915/i915_debugfs.c | 186
We can eliminate a lot of special case code by making the computation of
the interrupt mask be correct for all callers.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
---
drivers/gpu/drm/i915/intel_pm.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
Use a short local variable to pass around the desired idle frequency.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
---
drivers/gpu/drm/i915/intel_pm.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_pm.c
Use both up/down manual ei calcuations for symmetry and greater
flexibility for reclocking, instead of faking the down interrupt based
on a fixed integer number of up interrupts.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
---
drivers/gpu/drm/i915/i915_drv.h | 2 --
2014-07-08 11:58 GMT-03:00 Daniel Vetter dan...@ffwll.ch:
On Tue, Jul 08, 2014 at 11:15:03AM -0300, Paulo Zanoni wrote:
2014-07-07 18:23 GMT-03:00 Daniel Vetter dan...@ffwll.ch:
On Fri, Jul 04, 2014 at 11:50:29AM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
If
Place the RPS counters inside the RPS struct.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
---
drivers/gpu/drm/i915/i915_drv.h | 18 +++---
drivers/gpu/drm/i915/i915_irq.c | 32
2 files changed, 23 insertions(+), 27 deletions(-)
diff --git
Reuse the same reclocking strategy for Baytail as on its bigger brethren,
Sandybridge and Ivybridge. In particular, this makes the device quicker
to reclock (both up and down) though the tendency now is to downclock
more aggressively to compensate for the RPS boosts.
Signed-off-by: Chris Wilson
Rewrite commit 31685c258e0b0ad6aa486c5ec001382cf8a64212
Author: Deepak S deepa...@linux.intel.com
Date: Thu Jul 3 17:33:01 2014 -0400
drm/i915/vlv: WA for Turbo and RC6 to work together.
Other than code clarity, the major improvement is to disable the extra
interrupts generated when idle.
On 07/09/2014 10:35 PM, Daniel Vetter wrote:
This reverts commit 773875bfb6737982903c42d1ee88cf60af80089c.
It is very much needed and the lack of dithering has been reported by
a large list of people with various gen2/3 hardware.
Also, the original patch was complete non-sense since the
On Tue, Jul 01, 2014 at 06:33:50PM -0300, Paulo Zanoni wrote:
2014-06-25 16:01 GMT-03:00 Imre Deak imre.d...@intel.com:
This is a respin of the unmerged part of Daniel's runtime PM for DPMS
patchset [1]. The original one also included a refactoring of the DDI
PCH/CRT encoder modesetting
On Thu, Jul 10, 2014 at 02:52:42PM +0100, Damien Lespiau wrote:
We don't need them past the module initialization as the correct
structure is copied into dev_priv in -load(), called from
drm_pci_init(), called from the module init funtion.
I'm always hesitant about adding new members to
On Fri, Jul 04, 2014 at 01:38:36PM -0300, Paulo Zanoni wrote:
From: Paulo Zanoni paulo.r.zan...@intel.com
We may reach this point while the machine is still runtime suspended,
so we'll hit a WARN. The other encoders also don't touch registers at
this point, so instead of waking the machine
On Thu, Jul 10, 2014 at 04:26:53PM -0300, Paulo Zanoni wrote:
2014-07-10 10:52 GMT-03:00 Damien Lespiau damien.lesp...@intel.com:
C is super happy to asign anything pointer to void *. Don't pretend
otherwise.
Reviewed-by: Paulo Zanoni paulo.r.zan...@intel.com
Queued for -next, thanks for
On Thu, Jul 10, 2014 at 08:31:19PM +0100, Chris Wilson wrote:
We can eliminate a lot of special case code by making the computation of
the interrupt mask be correct for all callers.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
---
drivers/gpu/drm/i915/intel_pm.c | 10 +-
1
On Thu, Jul 10, 2014 at 07:00:07PM +0100, Damien Lespiau wrote:
Signed-off-by: Damien Lespiau damien.lesp...@intel.com
---
lib/igt_kms.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index d34bcee..9e7bc2b 100644
--- a/lib/igt_kms.h
+++
Currently objects for which the hardware needs a contiguous physical
address are allocated a shadow backing storage to satisfy the contraint.
This shadow buffer is not wired into the normal obj-pages and so the
physical object is incoherent with accesses via the GPU, GTT and CPU. By
setting up the
On Wed, Jun 11, 2014 at 12:59:51PM +0100, Chris Wilson wrote:
Currently objects for which the hardware needs a contiguous physical
address are allocated a shadow backing storage to satisfy the contraint.
This shadow buffer is not wired into the normal obj-pages and so the
physical object is
From: Daniel Vetter
Sent: Monday, July 07, 2014 11:40 AM
On Mon, Jul 07, 2014 at 07:58:30PM +0200, Paolo Bonzini wrote:
Il 07/07/2014 19:54, Daniel Vetter ha scritto:
On Mon, Jul 07, 2014 at 04:57:45PM +0200, Paolo Bonzini wrote:
Il 07/07/2014 16:49, Daniel Vetter ha scritto:
So the
On Thu, Jul 10, 2014 at 10:25:27PM +0200, Daniel Vetter wrote:
On Thu, Jul 10, 2014 at 02:52:42PM +0100, Damien Lespiau wrote:
We don't need them past the module initialization as the correct
structure is copied into dev_priv in -load(), called from
drm_pci_init(), called from the module
F21 branched off Rawhide over recent hours. On i945G host gx62b I cloned
first, then upgraded one to current F21 state and the other to Rawhide.
Before today's upgrade, which moved server from 1.15.99.903 to 1.15.99.904 on
both, and kernel from rc4git0.1 to rc4git2.1, booting first to
This Software turbo will mainly take place of the hardware driven
interrupt part without touching the boost/idle strategy.
So gen6_rps_boost and gen6_rps_idle will still function for BDW.
I can revise the commit message to clarify.
On 7/10/2014 12:07 PM, Chris Wilson wrote:
On Thu, Jul 10,
95 matches
Mail list logo