diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-04-16 21:07:40 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-18 08:34:49 (GMT) |
commit | c43b5634037ff00c83cde4ab7fc5e46831c846ef (patch) | |
tree | 38381d5ba104db965999b740c85c76e66c5003d7 /drivers/gpu/drm/i915/intel_fb.c | |
parent | df0323c42ac35f81b49e25fe04e8e52b9c6f6467 (diff) | |
download | linux-c43b5634037ff00c83cde4ab7fc5e46831c846ef.tar.xz |
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.c | 2 |
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; |