mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-07 12:18:05 +02:00
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.
This commit is contained in:
parent
3a7dfcdfaf
commit
9764061ab1
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue