drm: fb-helper: Reject all pixel format changing requests
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 3 Oct 2018 16:45:38 +0000 (19:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Nov 2018 15:49:46 +0000 (07:49 -0800)
commita69c03dca8c12412bf29dec06e6f36af61e0c493
tree220f91401a761e8ee2bb70e6dec74d3bb168e47b
parentc6dd29d7a92d8e51aa620ce5160b99f29e0f763e
drm: fb-helper: Reject all pixel format changing requests

commit db05c481977599236f12a85e55de9f5ab37b0a2c upstream.

drm fbdev emulation doesn't support changing the pixel format at all,
so reject all pixel format changing requests.

Cc: stable@vger.kernel.org
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181003164538.5534-1-Eugeniy.Paltsev@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_fb_helper.c