linux-stable/drivers/gpu/drm/mgag200
Jocelyn Falempe feef4dc27d drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE
commit 11f9eb899e upstream.

When mgag200 switched from simple KMS to regular atomic helpers,
the initialization of the gamma settings was lost.
This leads to a black screen, if the bios/uefi doesn't use the same
pixel color depth.
This has been fixed with commit ad81e23426 ("drm/mgag200: Fix gamma
lut not initialized.") for most G200, but G200ER, G200EV, G200SE use
their own version of crtc_helper_atomic_enable() and need to be fixed
too.

Fixes: 1baf9127c4 ("drm/mgag200: Replace simple-KMS with regular atomic helpers")
Cc: <stable@vger.kernel.org> #v6.1+
Reported-by: Roger Sewell <roger.sewell@cantab.net>
Suggested-by: Roger Sewell <roger.sewell@cantab.net>
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231214163849.359691-1-jfalempe@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-10 17:16:46 +01:00
..
Kconfig drm: Only select I2C_ALGOBIT for drivers that actually need it 2023-01-10 11:15:44 +01:00
Makefile drm/mgag200: Provide per-device callbacks for PIXPLLC 2022-07-29 16:01:47 +02:00
mgag200_bmc.c drm/mgag200: Provide per-device callbacks for BMC synchronization 2022-07-29 16:01:47 +02:00
mgag200_drv.c drm: Call drm_atomic_helper_shutdown() at shutdown/remove time for misc drivers 2023-11-20 11:59:10 +01:00
mgag200_drv.h drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE 2024-01-10 17:16:46 +01:00
mgag200_g200.c drm/mgag200: Remove type field from struct mga_device 2022-07-29 16:01:47 +02:00
mgag200_g200eh.c drm/mgag200: Remove type field from struct mga_device 2022-07-29 16:01:47 +02:00
mgag200_g200eh3.c drm/mgag200: Remove type field from struct mga_device 2022-07-29 16:01:47 +02:00
mgag200_g200er.c drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE 2024-01-10 17:16:46 +01:00
mgag200_g200ev.c drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE 2024-01-10 17:16:46 +01:00
mgag200_g200ew3.c drm/mgag200: Remove type field from struct mga_device 2022-07-29 16:01:47 +02:00
mgag200_g200se.c drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE 2024-01-10 17:16:46 +01:00
mgag200_g200wb.c drm/mgag200: Remove type field from struct mga_device 2022-07-29 16:01:47 +02:00
mgag200_i2c.c
mgag200_mode.c drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE 2024-01-10 17:16:46 +01:00
mgag200_reg.h drm/mgag200:remove rebundant word "or" in comments 2022-07-18 18:44:01 +02:00