]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix modeset devname allocation + agp init return check.
authorDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 06:35:02 +0000 (16:35 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 08:18:19 +0000 (18:18 +1000)
commit7c157e979d37371e9309eed58d1152b59d58419e
tree9653e7a7674a2cf668fe0e33ba789a6a45f84ca5
parente99a872391bbc1af0d0a59d17a2dcedd32985f9f
drm/i915: fix modeset devname allocation + agp init return check.

devname needs to be allocated before the irq is installed, so the
irq routines get the correct name in /proc.

Also check the return value from the AGP init function, and
fixup the exit points.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_dma.c