From: Ville Syrjälä Date: Mon, 27 May 2013 17:19:56 +0000 (+0300) Subject: drm/fb-helper: Don't clobber the display palette when fbdev isn't bound X-Git-Tag: v3.11-rc1~65^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8391a3d5bc6269cb0622c136ec7f125a2d5fb5f9;p=pandora-kernel.git drm/fb-helper: Don't clobber the display palette when fbdev isn't bound Perform the drm_fb_helper_is_bound() check to avoid clobbering the display palette of some other KMS client. While at it, fix up the locking by grabbing all modeset locks for the duration of the fb_setcmap operation. v2: Make a note of the locking changes in the commit message Reviewed-by: Daniel Vetter Signed-off-by: Ville Syrjälä Signed-off-by: Dave Airlie --- Reading git-diff-tree failed