blending versions of the copy and write tests.
Antti Koskipaa (3):
gem_render_copy: Make render_copyfunc more generic
gem_render_copy: Add functions for performance testing
gem_memory_bandwidth: Add test
lib/gen8_render.h| 3 +
lib/intel_batchbuffer.c | 40 +
l
come.
Signed-off-by: Antti Koskipaa
---
lib/gen8_render.h | 3 ++
lib/intel_batchbuffer.c | 40 +++
lib/intel_batchbuffer.h | 2 ++
lib/rendercopy.h| 12
lib/rendercopy_gen8.c | 53 +++
shaders/ps/discard.g7a | 73
This will allow adding more tests that use this function without excessive
copying and pasting.
Signed-off-by: Antti Koskipaa
---
lib/rendercopy_gen8.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c
index
This is a benchmark for testing the GPU read and write bandwidth.
Issue: VIZ-5664
Signed-off-by: Antti Koskipaa
---
tests/.gitignore | 1 +
tests/Makefile.sources | 1 +
tests/gem_memory_bandwidth.c | 209 +++
3 files changed, 211
entries as zero. If this is not good enough for the future,
we can always sprinkle extra version checks in there.
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/intel_bios.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_bios.c
b
These are required for SKL PV.
I tested these on SNB and SKL.
Antti Koskipaa (2):
drm/i915: Allow parsing of variable size child device entries from VBT
drm/i915: Per-DDI I_boost override
drivers/gpu/drm/i915/i915_drv.h | 3 +++
drivers/gpu/drm/i915/intel_bios.c | 30
An OEM may request increased I_boost beyond the recommended values
by specifying an I_boost value to be applied to all swing entries for
a port. These override values are specified in VBT.
v2: rebase and remove unused iboost_bit variable
Issue: VIZ-5676
Signed-off-by: Antti Koskipaa
An OEM may request increased I_boost beyond the recommended values
by specifying an I_boost value to be applied to all swing entries for
a port. These override values are specified in VBT.
v2: rebase and remove unused iboost_bit variable
Issue: VIZ-5676
Signed-off-by: Antti Koskipaa
An OEM may request increased I_boost beyond the recommended values
by specifying an I_boost value to be applied to all swing entries for
a port. These override values are specified in VBT.
Issue: VIZ-5676
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/i915_drv.h | 3 +++
drivers/gpu
This is a basic sanity test of the backlight sysfs interface.
v2:
- Add jani's suggestion for immediate readback
- Remove unused parameter from test_and_verify()
- Add fade test
Issue: VIZ-3377
Signed-off-by: Antti Koskipaa
---
tests/.gitignore | 1 +
tests/Makefile.sources
This is a basic sanity test of the backlight sysfs interface.
Issue: VIZ-3377
Signed-off-by: Antti Koskipaa
---
tests/.gitignore | 1 +
tests/Makefile.sources | 1 +
tests/pm_backlight.c | 144 +
3 files changed, 146 insertions
Now that we support cursor changes other than 64x64, a bug was found
where the size change was only applied at cursor enable time, rather
than at every update. Add a testcase for that.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 55
the future.
Also adds a couple more tests to the current set.
v2:
- reinstate "go nuts" -test
- Add background picture for better test coverage
Antti Koskipaa (8):
kms_cursor_crc: Remove some test cases and change cursor to color
kms_cursor_crc: Move cursor enable and disable cal
This gives the cursor something to be on, instead of just a black
background. Slows the test down only one second over six minutes.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index
More tests are coming, and this allows us to not repeat the boilerplate
code in run_test() for each subtest.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests
patch which will add
software rendering of the cursor and the CRC generation.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 75 +-
1 file changed, 32 insertions(+), 43 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 16
1 file changed, 16 insertions(+)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 85ff243..b2498a1 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -200,6 +200,20 @@ static void
Also remove onscreen boolean from parameter list. All test-related
data should be put into test_data from now.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 99 +-
1 file changed, 50 insertions(+), 49 deletions(-)
diff --git a/tests
We can't have the hw cursor enabled during software render tests.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 54 --
1 file changed, 26 insertions(+), 28 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_
This patch first render the cursor with hardware rendering and
then with software, acquiring the CRC in both cases so they can be
properly compared. Say goodbye to crc_must_match variable.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 27 ---
1 file changed
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index b2498a1..e00abf5 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -214,6 +214,18 @@ static void
More tests are coming, and this allows us to not repeat the boilerplate
code in run_test() for each subtest.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests
patch which will add
software rendering of the cursor and the CRC generation.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 75 +-
1 file changed, 32 insertions(+), 43 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests
the future.
Also adds a couple more tests to the current set.
Antti Koskipaa (7):
kms_cursor_crc: Remove some test cases and change cursor to color
kms_cursor_crc: Move cursor enable and disable calls where they belong
kms_cursor_crc: Use a function pointer to call test
kms_cursor_crc
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 1e1d348..d461d72 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -208,6 +208,18 @@ static void
Also remove onscreen boolean from parameter list. All test-related
data should be put into test_data from now.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 99 +-
1 file changed, 50 insertions(+), 49 deletions(-)
diff --git a/tests
This patch first render the cursor with hardware rendering and
then with software, acquiring the CRC in both cases so they can be
properly compared. Say goodbye to crc_must_match variable.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 27 +--
1 file changed
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 16
1 file changed, 16 insertions(+)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 021d58a..1e1d348 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -194,6 +194,20 @@ static void
We can't have the hw cursor enabled during software render tests.
Signed-off-by: Antti Koskipaa
---
tests/kms_cursor_crc.c | 54 --
1 file changed, 26 insertions(+), 28 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_
, VLV, IVB, Gen2 and HSW w/eDP.
I left the UMS cruft untouched.
Size differences:
textdata bss dec hex filename
5964314634 56 601121 92c21 i915.ko (new)
5931994634 56 597889 91f81 i915.ko (old)
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915
4342 56 606125 93fad i915.ko (new)
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/i915_drv.c | 37 +++
drivers/gpu/drm/i915/i915_drv.h | 10 +-
drivers/gpu/drm/i915/i915_reg.h | 235 +++-
3 files changed, 181 insertions(+), 101
)
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/i915_drv.c | 37 +++
drivers/gpu/drm/i915/i915_drv.h | 10 +-
drivers/gpu/drm/i915/i915_reg.h | 235 +++-
3 files changed, 181 insertions(+), 101 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.c
, VLV, IVB and HSW w/eDP.
I left the UMS cruft untouched.
Size differences:
textdata bss dec hex filename
5984314342 56 602829 932cd i915.ko (old)
6017594342 56 606157 93fcd i915.ko (new)
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915
in memory. Change register address calculations
into array lookups.
Tested on SandyBridge and Valleyview
I left the UMS cruft untouched.
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/i915_drv.c | 36 +++
drivers/gpu/drm/i915/i915_drv.h | 9 +++-
drivers/gpu/drm/i915
untouched.
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/i915_drv.c | 37 +++
drivers/gpu/drm/i915/i915_drv.h | 9 +-
drivers/gpu/drm/i915/i915_reg.h | 235 +++-
3 files changed, 180 insertions(+), 101 deletions(-)
diff --git a/drivers/gpu/drm
hardware will not have the various display pipe register
ranges evenly spaced in memory. Change register address calculations
into array lookups.
Tested on SNB, VLV, IVB and HSW w/eDP.
I left the UMS cruft untouched.
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/i915_drv.c | 44
ranges evenly spaced in memory. Change register address calculations
into array lookups.
Tested on SNB, VLV, IVB and HSW w/eDP.
I left the UMS cruft untouched.
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/i915_drv.c | 44 +
drivers/gpu/drm/i915/i915_drv.h | 11 ++-
drivers
calculations
into array lookups.
Tested on SandyBridge and VLV/BYT.
I left the UMS cruft untouched.
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/i915_drv.c | 56 +++
drivers/gpu/drm/i915/i915_drv.h | 9 +++-
drivers/gpu/drm/i915/i915_reg.h | 99
Upcoming hardware will not have the various display pipe register
ranges evenly spaced in memory. Change register address calculations
into array lookups.
Tested on SandyBridge.
I left the UMS cruft untouched.
Signed-off-by: Antti Koskipaa
---
drivers/gpu/drm/i915/dvo_ns2501.c | 6
39 matches
Mail list logo