summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_fb.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-04-16 14:07:40 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-18 10:34:49 +0200
commitc43b5634037ff00c83cde4ab7fc5e46831c846ef (patch)
tree38381d5ba104db965999b740c85c76e66c5003d7 /drivers/gpu/drm/i915/intel_fb.c
parentdf0323c42ac35f81b49e25fe04e8e52b9c6f6467 (diff)
downloadop-kernel-dev-c43b5634037ff00c83cde4ab7fc5e46831c846ef.zip
op-kernel-dev-c43b5634037ff00c83cde4ab7fc5e46831c846ef.tar.gz
drm/i915: [sparse] trivial sparse fixes
This should contain all the changes which require no thought to make sparse happy. Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fb.c')
-rw-r--r--drivers/gpu/drm/i915/intel_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c
index 19ecd78..71ef289 100644
--- a/drivers/gpu/drm/i915/intel_fb.c
+++ b/drivers/gpu/drm/i915/intel_fb.c
@@ -94,7 +94,7 @@ static int intelfb_create(struct intel_fbdev *ifbdev,
mutex_lock(&dev->struct_mutex);
/* Flush everything out, we'll be doing GTT only from now on */
- ret = intel_pin_and_fence_fb_obj(dev, obj, false);
+ ret = intel_pin_and_fence_fb_obj(dev, obj, NULL);
if (ret) {
DRM_ERROR("failed to pin fb: %d\n", ret);
goto out_unref;
OpenPOWER on IntegriCloud