drm: Propagate failure from setting crtc base.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Feb 2009 13:25:09 +0000 (13:25 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:12 +0000 (12:21 +1000)
commit5c3b82e2b229e78eb32f4ea12d16f3ebeeab3fc7
tree1717b0b529629df1287e5a4ce08501fd92415a56
parente62fb64e6187ea9d8bcedb17ccaa045ed92d4b55
drm: Propagate failure from setting crtc base.

Check the error paths within intel_pipe_set_base() to first cleanup and
then report back the error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/i915/intel_display.c
include/drm/drm_crtc_helper.h