]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: sprite init failure on pre-SNB is not a failure
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 13 Jan 2012 23:48:39 +0000 (15:48 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 13 Jan 2012 23:49:27 +0000 (15:49 -0800)
commitdec68c55036c3b3e39c9df20b190a30b2b3ec2b5
tree513399b011821207a8543cddc602c07ffa2c2b9d
parent38da71d8e4bad92c5c4fd1c354a76b05837e486a
drm/i915: sprite init failure on pre-SNB is not a failure

We can call the plane init function unconditionally, but don't need to
complain if it fails, since that will only happen if we're out of
memory (and other things will fail) or if we're on the wrong platform
(which is ok).

And remove the DRM_ERRORs from the sprite code itself to avoid dmesg
spam.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sprite.c