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>
This commit is contained in:

committed by
Dave Airlie

parent
fd632aa34c
commit
ac52bc56de
@@ -4967,7 +4967,7 @@ intel_alloc_power_context(struct drm_device *dev)
|
||||
struct drm_gem_object *pwrctx;
|
||||
int ret;
|
||||
|
||||
pwrctx = drm_gem_object_alloc(dev, 4096);
|
||||
pwrctx = i915_gem_alloc_object(dev, 4096);
|
||||
if (!pwrctx) {
|
||||
DRM_DEBUG("failed to alloc power context, RC6 disabled\n");
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user