summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-10-08 15:39:27 -0700
committerEric Anholt <eric@anholt.net>2009-10-08 15:55:02 -0700
commit9764061ab1b02e4b7bde1494b121604c5c4d4df8 (patch)
tree27849df5b51338713f6bb5e75100474792731e59
parent3a7dfcdfafdd6ac83a4d3e7b4c1c52fd901b93ae (diff)
intel: Remove the asserts about the ignored alignment parameter.
I slipped it in with the alloc_tiled changes, since we were explicitly throwing the parameter away. It caught some bogus released code, which we've now fixed, so remove the asserts to keep old drivers working.
-rw-r--r--libdrm/intel/intel_bufmgr_gem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdrm/intel/intel_bufmgr_gem.c b/libdrm/intel/intel_bufmgr_gem.c
index 3e46f532..b8be96d9 100644
--- a/libdrm/intel/intel_bufmgr_gem.c
+++ b/libdrm/intel/intel_bufmgr_gem.c
@@ -545,7 +545,6 @@ drm_intel_gem_bo_alloc_for_render(drm_intel_bufmgr *bufmgr,
unsigned long size,
unsigned int alignment)
{
- assert(alignment <= 4096);
return drm_intel_gem_bo_alloc_internal(bufmgr, name, size,
BO_ALLOC_FOR_RENDER);
}
@@ -556,7 +555,6 @@ drm_intel_gem_bo_alloc(drm_intel_bufmgr *bufmgr,
unsigned long size,
unsigned int alignment)
{
- assert(alignment <= 4096);
return drm_intel_gem_bo_alloc_internal(bufmgr, name, size, 0);
}