summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Tillery <rtillery@ti.com>2011-11-15 09:56:07 -0600
committerRick Tillery <rtillery@ti.com>2011-11-15 09:56:07 -0600
commit249c0015943a619d653c8239b69ed54e15f5d1df (patch)
tree2f11bc927e75a92f2d63a16d5d48d8ea6d8008dd
parent90e99ce2df704c63d77cb401a4af11ace587c99a (diff)
downloadhardware_ti_omap4-249c0015943a619d653c8239b69ed54e15f5d1df.zip
hardware_ti_omap4-249c0015943a619d653c8239b69ed54e15f5d1df.tar.gz
hardware_ti_omap4-249c0015943a619d653c8239b69ed54e15f5d1df.tar.bz2
Add error codes to bverror.h for bad bvtileparams, and aliases for elements
to be consistent. Fix file name in header of bventry.h. Change-Id: Ia198a0bc089a560d21e539b4b86ecaecd0b9bc42 Signed-off-by: Rick Tillery <rtillery@ti.com>
-rwxr-xr-xbltsville/include/bventry.h2
-rwxr-xr-xbltsville/include/bverror.h42
2 files changed, 43 insertions, 1 deletions
diff --git a/bltsville/include/bventry.h b/bltsville/include/bventry.h
index 90566c2..6220cd1 100755
--- a/bltsville/include/bventry.h
+++ b/bltsville/include/bventry.h
@@ -1,5 +1,5 @@
/*
- * bvbuffdesc.h
+ * bventry.h
*
* Copyright (C) 2011 Texas Instruments, Inc.
*
diff --git a/bltsville/include/bverror.h b/bltsville/include/bverror.h
index 9d2f8d3..513ed19 100755
--- a/bltsville/include/bverror.h
+++ b/bltsville/include/bverror.h
@@ -140,14 +140,28 @@ enum bverror {
BVERR_SRC1_ROT = /* src1->dst rotation angle not supported */
BVERRDEF_VENDOR_ALL + 31300,
+ BVERR_SRC1_TILEPARAMS = /* invalid src1.tileparams */
+ BVERR_SRC1DESC,
BVERR_SRC1_TILE_VERS = /* src1.tileparams.structsize too small */
BVERRDEF_VENDOR_ALL + 32000,
+ BVERR_SRC1_TILEPARAMS_VERS =
+ BVERR_SRC1_TILE_VERS,
BVERR_SRC1_TILE_FLAGS = /* tileparams.flags not supported */
BVERRDEF_VENDOR_ALL + 32100,
+ BVERR_SRC1_TILEPARAMS_FLAGS =
+ BVERR_SRC1_TILE_FLAGS,
+ BVERR_SRC1_TILE_VIRTADDR =
+ BVERR_SRC1DESC_VIRTADDR,
+ BVERR_SRC1_TILEPARAMS_VIRTADDR =
+ BVERR_SRC1_TILE_VIRTADDR,
BVERR_SRC1_TILE_ORIGIN = /* tileparams.left or .top not supported */
BVERRDEF_VENDOR_ALL + 32200,
+ BVERR_SRC1_TILEPARAMS_ORIGIN =
+ BVERR_SRC1_TILE_ORIGIN,
BVERR_SRC1_TILE_SIZE = /* tileparams.width or .height not supported */
BVERRDEF_VENDOR_ALL + 32300,
+ BVERR_SRC1_TILEPARAMS_SIZE =
+ BVERR_SRC1_TILE_SIZE,
BVERR_SRC2DESC = /* invalid bvbltparams.src2.desc */
BVERRDEF_VENDOR_ALL + 33000,
@@ -179,14 +193,28 @@ enum bverror {
BVERR_SRC2_ROT = /* src2->dst rotation angle not supported */
BVERRDEF_VENDOR_ALL + 35300,
+ BVERR_SRC2_TILEPARAMS = /* invalid src2.tileparams */
+ BVERR_SRC2DESC,
BVERR_SRC2_TILE_VERS = /* src2.tileparams.structsize too small */
BVERRDEF_VENDOR_ALL + 36000,
+ BVERR_SRC2_TILEPARAMS_VERS =
+ BVERR_SRC2_TILE_VERS,
BVERR_SRC2_TILE_FLAGS = /* tileparams.flags not supported */
BVERRDEF_VENDOR_ALL + 36100,
+ BVERR_SRC2_TILEPARAMS_FLAGS =
+ BVERR_SRC2_TILE_FLAGS,
+ BVERR_SRC2_TILE_VIRTADDR =
+ BVERR_SRC2DESC_VIRTADDR,
+ BVERR_SRC2_TILEPARAMS_VIRTADDR =
+ BVERR_SRC2_TILE_VIRTADDR,
BVERR_SRC2_TILE_ORIGIN = /* tileparams.left or .top not supported */
BVERRDEF_VENDOR_ALL + 36200,
+ BVERR_SRC2_TILEPARAMS_ORIGIN =
+ BVERR_SRC2_TILE_ORIGIN,
BVERR_SRC2_TILE_SIZE = /* tileparams.width or .height not supported */
BVERRDEF_VENDOR_ALL + 36300,
+ BVERR_SRC2_TILEPARAMS_SIZE =
+ BVERR_SRC2_TILE_SIZE,
BVERR_MASKDESC = /* invalid bvbltparams.mask.desc */
BVERRDEF_VENDOR_ALL + 37000,
@@ -218,14 +246,28 @@ enum bverror {
BVERR_MASK_ROT = /* mask->dst rotation angle not supported */
BVERRDEF_VENDOR_ALL + 39300,
+ BVERR_MASK_TILEPARAMS = /* invalid mask.tileparams */
+ BVERR_MASKDESC,
BVERR_MASK_TILE_VERS = /* mask.tileparams.structsize too small */
BVERRDEF_VENDOR_ALL + 40000,
+ BVERR_MASK_TILEPARAMS_VERS =
+ BVERR_MASK_TILE_VERS,
BVERR_MASK_TILE_FLAGS = /* tileparams.flags not supported */
BVERRDEF_VENDOR_ALL + 40100,
+ BVERR_MASK_TILEPARAMS_FLAGS =
+ BVERR_MASK_TILE_FLAGS,
+ BVERR_MASK_TILE_VIRTADDR =
+ BVERR_MASKDESC_VIRTADDR,
+ BVERR_MASK_TILEPARAMS_VIRTADDR =
+ BVERR_MASK_TILE_VIRTADDR,
BVERR_MASK_TILE_ORIGIN = /* tileparams.left or .top not supported */
BVERRDEF_VENDOR_ALL + 40200,
+ BVERR_MASK_TILEPARAMS_ORIGIN =
+ BVERR_MASK_TILE_ORIGIN,
BVERR_MASK_TILE_SIZE = /* tileparams.width or .height not supported */
BVERRDEF_VENDOR_ALL + 40300,
+ BVERR_MASK_TILEPARAMS_SIZE =
+ BVERR_MASK_TILE_SIZE,
BVERR_CLIP_RECT = /* bvbltparams.cliprect not supported */
BVERRDEF_VENDOR_ALL + 41000,