Signed-off-by: Zhipeng Gong
---
tests/gem_dummy_reloc_loop.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/tests/gem_dummy_reloc_loop.c b/tests/gem_dummy_reloc_loop.c
index 335700d..5e0a10a 100644
--- a/tests/gem_dummy_reloc_loop.c
+++ b/tests/gem_dummy_reloc_loop.c
depends on that new libdrm.
http://lists.freedesktop.org/archives/intel-gfx/2014-December/056569.html
Zhipeng Gong (3):
i-g-t: check whether kernel has dual bsd ring
tests/gem_exec_params: check the invalid flags for dual bsd ring
test/gem_dummy_reloc_loop: add tests for dual bsd ring
lib
v2: change the number to be consistent with upstream (Zhipeng)
Signed-off-by: Zhipeng Gong
---
lib/ioctl_wrappers.c | 16
lib/ioctl_wrappers.h | 1 +
2 files changed, 17 insertions(+)
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index 5bca455..19a457a 100644
--- a
v2: add more tests to address Daniel's comments(Zhipeng)
Signed-off-by: Zhipeng Gong
---
tests/gem_exec_params.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/tests/gem_exec_params.c b/tests/gem_exec_params.c
index f63eda9..54f0dc3 100644
SKL GT3 machine
v2: fix whitespace (Rodrigo)
v3: remove incorrect chunk that came on -collector rebase. (Rodrigo)
v4: change the comment (Zhipeng)
v5: address Daniel's comment (Zhipeng)
Signed-off-by: Zhipeng Gong
Reviewed-by: Rodrigo Vivi (for v4)
---
drivers/gpu/drm/i915/i915_gem_execbuf
This will let userland only try to use the new ring
when the appropriate kernel is present
v2: change the number to be consistent with upstream (Zhipeng)
Signed-off-by: Zhipeng Gong
Reviewed--by: Rodrigo Vivi (for v1)
---
drivers/gpu/drm/i915/i915_dma.c | 3 +++
include/uapi/drm/i915_drm.h
through execution flag. This mechanism is usable for all the platforms
with 2 VCS rings.
v2: fix whitespace (Rodrigo)
v3: remove incorrect chunk that came on -collector rebase. (Rodrigo)
v4: change the comment (Zhipeng)
Signed-off-by: Zhipeng Gong
Reviewed-by-by: Rodrigo Vivi
Signed-off-by
Signed-off-by: Zhipeng Gong
Reviewed-by: Rodrigo Vivi
Tested-by: Rodrigo Vivi
---
tests/gem_dummy_reloc_loop.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/tests/gem_dummy_reloc_loop.c b/tests/gem_dummy_reloc_loop.c
index 7a97140..7a406f3 100644
--- a/tests
Signed-off-by: Zhipeng Gong
Reviewed-by: Rodrigo Vivi
Tested-by: Rodrigo Vivi
---
tests/gem_exec_params.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/tests/gem_exec_params.c b/tests/gem_exec_params.c
index f63eda9..ab19482 100644
--- a/tests/gem_exec_params.c
+++ b/tests
Signed-off-by: Zhipeng Gong
Reviewed-by: Rodrigo Vivi
Tested-by: Rodrigo Vivi
---
lib/ioctl_wrappers.c | 16
lib/ioctl_wrappers.h | 1 +
2 files changed, 17 insertions(+)
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index 56280b6..ad746e9 100644
--- a/lib
depends on that new libdrm.
http://lists.freedesktop.org/archives/intel-gfx/2014-December/056569.html
Zhipeng Gong (3):
i-g-t: check whether kernel has dual bsd ring
tests/gem_exec_params: check the invalid flags for dual bsd ring
test/gem_dummy_reloc_loop: add tests for dual bsd ring
lib
This will let userland only try to use the new ring
when the appropriate kernel is present
Signed-off-by: Zhipeng Gong
---
drivers/gpu/drm/i915/i915_dma.c | 3 +++
include/uapi/drm/i915_drm.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu
On Broadwell GT3 we have 2 Video Command Streamers (VCS), but userspace
has no control when using VCS1 or VCS2. This patch introduces a mechanism
to avoid the default ping-pong mode and use one specific ring through
execution flag.
Signed-off-by: Zhipeng Gong
---
drivers/gpu/drm/i915
Signed-off-by: Zhipeng Gong
---
tests/gem_dummy_reloc_loop.c | 16
1 file changed, 16 insertions(+)
diff --git a/tests/gem_dummy_reloc_loop.c b/tests/gem_dummy_reloc_loop.c
index 4fe0786..6913537 100644
--- a/tests/gem_dummy_reloc_loop.c
+++ b/tests/gem_dummy_reloc_loop.c
The Broadwell GT3 machine has two independent BSD rings that can be used
to process the video commands. New execution flags are added to export the
two rings to userspace so that userspace can specify the bsd ring.
Zhipeng Gong (3):
i-g-t: check whether kernel has dual bsd ring
tests
Signed-off-by: Zhipeng Gong
---
lib/ioctl_wrappers.c | 16
lib/ioctl_wrappers.h | 1 +
2 files changed, 17 insertions(+)
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index c4e1080..03163a0 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -754,6
Signed-off-by: Zhipeng Gong
---
tests/gem_exec_params.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tests/gem_exec_params.c b/tests/gem_exec_params.c
index 769969d..b18ef4e 100644
--- a/tests/gem_exec_params.c
+++ b/tests/gem_exec_params.c
@@ -126,6 +126,12 @@ igt_main
On Broadwell GT3 we have 2 Video Command Streamers (VCS), but userspace
has no control when using VCS1 or VCS2. This patch introduces a mechanism
to avoid the default ping-pong mode and use one specific ring through
execution flag.
Signed-off-by: Zhipeng Gong
---
drivers/gpu/drm/i915
18 matches
Mail list logo