diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-04-09 19:05:06 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-20 13:22:26 +1000 |
commit | ac52bc56de25535a907ef07f8755f1387b89b0f5 (patch) | |
tree | 7415fc01a7b420899bfd09b4836d454e8c14dfc6 /drivers/gpu/drm/i915/intel_overlay.c | |
parent | fd632aa34c8592fb1d37fc83cbffa827bc7dd42c (diff) | |
download | linux-next-ac52bc56de25535a907ef07f8755f1387b89b0f5.tar.gz |
drm/i915: introduce i915_gem_alloc_object
Just preparation, no functional change.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_overlay.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_overlay.c b/drivers/gpu/drm/i915/intel_overlay.c index 6d524a1fc271..bc3721af855c 100644 --- a/drivers/gpu/drm/i915/intel_overlay.c +++ b/drivers/gpu/drm/i915/intel_overlay.c @@ -1341,7 +1341,7 @@ void intel_setup_overlay(struct drm_device *dev) return; overlay->dev = dev; - reg_bo = drm_gem_object_alloc(dev, PAGE_SIZE); + reg_bo = i915_gem_alloc_object(dev, PAGE_SIZE); if (!reg_bo) goto out_free; overlay->reg_bo = to_intel_bo(reg_bo); |