aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/framebuffer.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-13 23:39:01 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-20 15:29:35 +0100
commit80f0b5aff8f49f63eaf08bdae243de3a8ea3f77e (patch)
tree15b19aa9ecd65b26fa4779d8616f78efae2eb4ef /drivers/gpu/drm/gma500/framebuffer.c
parentc7d73f6a8ad71f9d9f58c86981322c6e48093a4f (diff)
drm/vmwgfx: reorder framebuffer init sequence
vmwgfx has an oddity, when failing to reference the surface it'll return 0, since that's what the successfull drm_framebuffer_init will leave behind in ret. Fix this up by returning -EINVAL. Split out from all the other driver updates due to the above tiny semantic change. Shouldn't matter though since the reference grabbing seemingly can't fail. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/gma500/framebuffer.c')
0 files changed, 0 insertions, 0 deletions