mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-04-26 04:30:40 +02:00
i915: fix vbl_swap allocation
This commit is contained in:
parent
3ab7627651
commit
8d3cb7e472
1 changed files with 1 additions and 1 deletions
|
|
@ -691,7 +691,7 @@ int i915_vblank_swap(struct drm_device *dev, void *data,
|
|||
return -EBUSY;
|
||||
}
|
||||
|
||||
vbl_swap = drm_calloc(1, sizeof(vbl_swap), DRM_MEM_DRIVER);
|
||||
vbl_swap = drm_calloc(1, sizeof(*vbl_swap), DRM_MEM_DRIVER);
|
||||
|
||||
if (!vbl_swap) {
|
||||
DRM_ERROR("Failed to allocate memory to queue swap\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue