]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/fb-helper: factor out pseudo-palette
authorPeter Rosin <peda@axentia.se>
Tue, 4 Jul 2017 10:36:57 +0000 (12:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Jul 2017 08:36:11 +0000 (10:36 +0200)
commitb8e2b0199cc377617dc238f5106352c06dcd3fa2
tree37779b82560574737196caad1bd849ebfa6d54fa
parent6b7dc6e9f82615836b389cb5f806914048b132cd
drm/fb-helper: factor out pseudo-palette

The pseudo-palette has nothing to do with the crtc, so move it
out of the crtc loop and update the palette once, then break out
early.

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