[igt-dev] [PATCH i-g-t] prime_udl: Add test description
Petri Latvala
petri.latvala at intel.com
Wed May 5 08:39:58 UTC 2021
Add a test description line, and remove the misleading comment
entirely. The comment has been copied from prime_nv_test.c and
mistakenly says the test is using nouveau.
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
Cc: Arkadiusz Hiler <arek at hiler.eu>
---
The test is also out of date in various ways and should probably
rather be removed in favor of more general prime tests...
tests/prime_udl.c | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/tests/prime_udl.c b/tests/prime_udl.c
index 9b600659..582e31f5 100644
--- a/tests/prime_udl.c
+++ b/tests/prime_udl.c
@@ -1,19 +1,3 @@
-/* basic set of prime tests between intel and nouveau */
-
-/* test list -
- 1. share buffer from intel -> nouveau.
- 2. share buffer from nouveau -> intel
- 3. share intel->nouveau, map on both, write intel, read nouveau
- 4. share intel->nouveau, blit intel fill, readback on nouveau
- test 1 + map buffer, read/write, map other size.
- do some hw actions on the buffer
- some illegal operations -
- close prime fd try and map
-
- TODO add some nouveau rendering tests
-*/
-
-
#include "igt.h"
#include <stdio.h>
#include <stdlib.h>
@@ -29,6 +13,8 @@
#include "intel_bufmgr.h"
+IGT_TEST_DESCRIPTION("Basic set of prime tests between Intel and DisplayLink");
+
int intel_fd = -1, udl_fd = -1;
drm_intel_bufmgr *bufmgr;
uint32_t devid;
--
2.29.2
More information about the igt-dev
mailing list