summaryrefslogtreecommitdiff
path: root/tests/prime_udl.c
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2021-05-05 11:39:58 +0300
committerPetri Latvala <petri.latvala@intel.com>2021-06-15 10:54:54 +0300
commitf3b98599611e7533640ae2cbfc787f4ab76de28d (patch)
tree9d6119fb18288b8b0ba9cdd025ebdcc34afebfcf /tests/prime_udl.c
parent598a154680374e7875ae9ffc98425abc57398b2f (diff)
prime_udl: Add test description
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@intel.com> Cc: Arkadiusz Hiler <arek@hiler.eu> Reviewed-by: Arkadiusz Hiler <arek@hiler.eu>
Diffstat (limited to 'tests/prime_udl.c')
-rw-r--r--tests/prime_udl.c18
1 files 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;