]> 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)
commit296a6dc92dba7eda5160d283228b2a0856d6d2ca
tree513399b011821207a8543cddc602c07ffa2c2b9d
parentf0aa43697867aefd732b435015d02bacd451e457
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