summaryrefslogtreecommitdiff
path: root/src/i965_defines.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2014-04-19 00:12:37 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-05-26 11:59:10 +0800
commit5684002ddffc89398755bccf3962febf88e1dd2d (patch)
tree21a826ca7d8392f729d9fa1deebfbcc0c15d9b5a /src/i965_defines.h
parentae70674e879aa40fe4cd3a01e66b239d642519b5 (diff)
downloadlibva-intel-driver-5684002ddffc89398755bccf3962febf88e1dd2d.tar.gz
libva-intel-driver-5684002ddffc89398755bccf3962febf88e1dd2d.tar.bz2
libva-intel-driver-5684002ddffc89398755bccf3962febf88e1dd2d.zip
Remove URB_SIZE()
Instead directly use the value stored in intel_device_info Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit a0fe5a6262f9ff1398a512c83d193556bbd0eae9)
Diffstat (limited to 'src/i965_defines.h')
-rwxr-xr-xsrc/i965_defines.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/i965_defines.h b/src/i965_defines.h
index 5b4a076..f010ca2 100755
--- a/src/i965_defines.h
+++ b/src/i965_defines.h
@@ -821,10 +821,4 @@
#define SUBSAMPLE_YUV411 5
#define SUBSAMPLE_RGBX 6
-#define URB_SIZE(intel) (IS_GEN7(intel->device_id) ? 4096 : \
- IS_GEN8(intel->device_id) ? 4096 : \
- IS_GEN6(intel->device_id) ? 1024 : \
- IS_IRONLAKE(intel->device_id) ? 1024 : \
- IS_G4X(intel->device_id) ? 384 : 256)
-
#endif /* _I965_DEFINES_H_ */