linux_dsm_epyc7002/drivers/gpu/drm/atmel-hlcdc
Gabriel Krisman Bertazi cd2523569a drm: Always prepare null framebuffer in transitional helper
Despite the documentation claim that cleanup_fb will match prior calls
to prepare_fb, in case of NULL framebuffers in the transitional helpers,
the code will skip the call to prepare_fb but not the corresponding
cleanup_fb call.  This asymmetry in semantics is unnecessarily surprising
for developers transitioning drivers to atomic model, specially because
the final atomic handlers don't have the issue - the prepare_fb is
always called, despite the new state framebuffer being null.

The only current user of the transitional helper that doesn't take care
of null framebuffers explicitly inside the prepare_fb hook is
atmel_hlcdc, so we take special care to make sure we don't break
anything there.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170216164442.28704-1-krisman@collabora.co.uk
2017-02-26 21:57:24 +01:00
..
atmel_hlcdc_crtc.c drm: atmel: use vblank hooks in struct drm_crtc_funcs 2017-02-07 21:47:08 +01:00
atmel_hlcdc_dc.c drm: atmel: use vblank hooks in struct drm_crtc_funcs 2017-02-07 21:47:08 +01:00
atmel_hlcdc_dc.h drm: atmel-hlcdc: route DMA accesses through AHB interfaces 2016-04-14 09:17:28 +02:00
atmel_hlcdc_layer.c drm: Replace drm_format_num_planes() with fb->format->num_planes 2016-12-15 14:55:31 +02:00
atmel_hlcdc_layer.h drm: atmel-hlcdc: Atomic mode-setting conversion 2015-02-22 21:00:06 +01:00
atmel_hlcdc_output.c drm: bridge: Link encoder and bridge in core code 2016-12-18 16:31:45 +05:30
atmel_hlcdc_plane.c drm: Always prepare null framebuffer in transitional helper 2017-02-26 21:57:24 +01:00
Kconfig drm/atmel-hlcdc: make fbdev support really optional 2016-07-15 10:28:33 -04:00
Makefile