linux-stable/drivers/gpu/drm/ast
Thomas Zimmermann 3339fdf574 drm/ast: Store primary-plane format in struct ast_crtc_state
Reading the primary plane's framebuffer from the CRTC's atomic_flush()
function is fragile as the plane state or framebuffer can be NULL.
Instead, we let the plane's atomic_check() store the framebuffer format
in the CRTC state. The CRTC always receives the framebuffer format that
is currently programmed, or NULL if no mode has been set yet.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191202111557.15176-8-tzimmermann@suse.de
2019-12-10 14:28:43 +01:00
..
ast_dp501.c drm/ast: drop use of drmP.h 2019-07-15 18:11:31 +02:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/ast: Don't include <drm/drm_pci.h> 2019-12-05 08:44:09 +01:00
ast_drv.h drm/ast: Store primary-plane format in struct ast_crtc_state 2019-12-10 14:28:43 +01:00
ast_main.c drm/ast: Enable atomic modesetting 2019-11-08 11:04:51 +01:00
ast_mode.c drm/ast: Store primary-plane format in struct ast_crtc_state 2019-12-10 14:28:43 +01:00
ast_post.c drm main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
ast_tables.h drm/ast: Fixed 1280x800 Display Issue 2018-03-23 09:50:54 +10:00
ast_ttm.c drm/vram: Have VRAM MM call GEM VRAM functions directly 2019-09-12 19:54:42 +02:00
Kconfig drm/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/ast: Replace struct ast_fbdev with generic framebuffer emulation 2019-07-09 10:25:12 +02:00