From: James Simmons Date: Thu, 23 Dec 2010 16:40:37 +0000 (+0000) Subject: drm: Update fbdev fb_fix_screeninfo X-Git-Tag: v2.6.38-rc1~419^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe63bb0ad9810db13aab0058caba97866e0a681;p=pandora-kernel.git drm: Update fbdev fb_fix_screeninfo If you change the color depth via fbset or some other framebuffer aware userland application struct fb_fix_screeninfo is not updated to this new information. This patch fixes this issue. Also the function is changed to just pass in struct drm_framebuffer so in the future we could use more fields. I'm hoping some day fix->smem* could be set here :-) Signed-off-by: James Simmons Signed-off-by: Dave Airlie --- Reading git-diff-tree failed