diff options
author | Ville Syrjälä <[email protected]> | 2013-05-27 20:19:56 +0300 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2013-06-17 19:42:46 +1000 |
commit | 8391a3d5bc6269cb0622c136ec7f125a2d5fb5f9 (patch) | |
tree | 6d905c86cd00fa40c391e213ffbb1c7d5bf003c1 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
parent | 778ad903f951a45a309a5a70dbdcf38eccabeaf0 (diff) |
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 <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions