]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb-helper: keep the .gamma_store updated in drm_fb_helper_setcmap
authorPeter Rosin <peda@axentia.se>
Tue, 4 Jul 2017 10:36:58 +0000 (12:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Jul 2017 08:36:17 +0000 (10:36 +0200)
commitddf4d1fc2c5edcb78e3887562962843d4ad57fc2
tree98e18755587b02ecfe51213526a7c4440e4f6a65
parent59ec43b5c4f42cd646101e357a229a7ef17d59d0
drm/fb-helper: keep the .gamma_store updated in drm_fb_helper_setcmap

I think the gamma_store can end up invalid on error. But the way I read
it, that can happen in drm_mode_gamma_set_ioctl as well, so why should
this pesky legacy fbdev stuff be any better?

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1499164632-5582-3-git-send-email-peda@axentia.se
drivers/gpu/drm/drm_fb_helper.c