summaryrefslogtreecommitdiff
path: root/lib/surfaceformat.h
diff options
context:
space:
mode:
authorTony Ye <tony.ye@intel.com>2018-11-13 14:36:28 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2019-02-05 12:23:09 +0000
commitc4b2b2f07fe8231afb8514fab19218dec95d562d (patch)
treed3f9c878c0041baff61b2aa57506a029a4b0bfd7 /lib/surfaceformat.h
parent5b31f04ae8cc4b922a7a8a6f5da639865a4cacd3 (diff)
tests/gem_media_vme: Simple test to exercise the VME block
Simple test which exercises the VME fixed function block. v2: (Tvrtko Ursulin) * Small cleanups like copyright date, tabs, remove unused bits. v3: (Tony Ye) * Added curbe data entry for dst surface. * Read the dst surface after the VME kernel being executed. v4: (Tony Ye) * Added the media_vme.gxa kernel source code and compile instructions. v5: (Tvrtko Ursulin) * Added hang detector. v6: (Tvrtko Ursulin) * Replace gem_read with gem_sync. (Chris Wilson) Signed-off-by: Tony Ye <tony.ye@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Tony Ye <tony.ye@intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'lib/surfaceformat.h')
-rw-r--r--lib/surfaceformat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/surfaceformat.h b/lib/surfaceformat.h
index 5d7ed2ca..32ea3732 100644
--- a/lib/surfaceformat.h
+++ b/lib/surfaceformat.h
@@ -171,6 +171,8 @@
#define SURFACEFORMAT_R16G16B16_SSCALED 0x19E
#define SURFACEFORMAT_R16G16B16_USCALED 0x19F
+#define SURFACEFORMAT_RAW 0x1FF
+
#define SURFACERETURNFORMAT_FLOAT32 0
#define SURFACERETURNFORMAT_S1 1