Skip to contentSkip to conversation

drm/i915: Remove obsolete code from intelfb_alloc()

PATCH Applied Chris Wilson 2 participants 2 messages Dec 19, 2015 – Dec 21, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1450536645_2420@s16502780

Chris Wilson

author Reviewed-by
#1 lore raw
Quoted 10 lines · Lukas Wunner

Clean up after 0c82312f3f15 ("drm/i915: Pin the ifbdev for the info->system_base GGTT mmapping"):

At each of the remaining "goto out" in intelfb_alloc(), fb can only be either an ERR_PTR or NULL, so the call to drm_framebuffer_unreference() is now obsolete.

Cc Daniel Vetter <[email protected]>
Cc Chris Wilson <[email protected]>

-Chris

Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw
Quoted 4 lines · Chris Wilson
Quoted 3 lines · Lukas Wunner

Clean up after 0c82312f3f15 ("drm/i915: Pin the ifbdev for the info->system_base GGTT mmapping"):

Quoted 8 lines
Quoted 7 lines

At each of the remaining "goto out" in intelfb_alloc(), fb can only be either an ERR_PTR or NULL, so the call to drm_framebuffer_unreference() is now obsolete.

Cc Daniel Vetter <[email protected]>
Cc Chris Wilson <[email protected]>

Queued for -next, thanks for the patch.
-Daniel

Quoted 4 lines

-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx