Re: [PATCH v2 3/3] drm/kms: allocate framebuffer cmap

2009-11-03 Thread James Simmons
> Without an allocated colormap, FBIOGETCMAP fails. This would make > programs restore an all-black colormap ("links -g") or fail to work > altogether ("mplayer -vo fbdev2"). > > Signed-off-by: Clemens Ladisch > --- > v2: implemented suggestions by James Simmons > > drivers/gpu/drm/drm_fb_hel

[PATCH v2 3/3] drm/kms: allocate framebuffer cmap

2009-11-03 Thread Clemens Ladisch
Without an allocated colormap, FBIOGETCMAP fails. This would make programs restore an all-black colormap ("links -g") or fail to work altogether ("mplayer -vo fbdev2"). Signed-off-by: Clemens Ladisch --- v2: implemented suggestions by James Simmons drivers/gpu/drm/drm_fb_helper.c | 4 1