projects
/
platform
/
upstream
/
libva-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df89849
)
Add MAX helper function
author
Gwenole Beauchesne
<gbeauchesne@splitted-desktop.com>
Wed, 18 Nov 2009 02:09:47 +0000
(10:09 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 18 Nov 2009 03:51:11 +0000
(11:51 +0800)
intel_driver.h
patch
|
blob
|
history
diff --git
a/intel_driver.h
b/intel_driver.h
index
f768703
..
84df0aa
100644
(file)
--- a/
intel_driver.h
+++ b/
intel_driver.h
@@
-43,6
+43,7
@@
struct intel_batchbuffer;
#define ALIGN(i, n) (((i) + (n) - 1) & ~((n) - 1))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define SET_BLOCKED_SIGSET() do { \
sigset_t bl_mask; \