diff options
author | Ville Syrjälä <[email protected]> | 2018-11-20 15:54:49 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2018-11-21 14:01:54 +0200 |
commit | fa6af5145b4e87a30a530be0d80734a9dd40da77 (patch) | |
tree | 7a325020b28a2b86cd4a7586ac9298228989433e /fs/ubifs/commit.c | |
parent | 8f19b401a6fc6d1262c5bfbfc18146c5e8ecb491 (diff) |
drm/i915: Force a LUT update in intel_initial_commit()
If we force a plane update to fix up our half populated plane state
we'll also force on the pipe gamma for the plane (since we always
enable pipe gamma currently). If the BIOS hasn't programmed a sensible
LUT into the hardware this will cause the image to become corrupted.
Typical symptoms are a purple/yellow/etc. flash when the driver loads.
To avoid this let's program something sensible into the LUT when
we do the plane update. In the future I plan to add proper plane
gamma enable readout so this is just a temporary measure.
Cc: Hans de Goede <[email protected]>
Fixes: 516a49cc1946 ("drm/i915: Fix assert_plane() warning on bootup with external display")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Tested-by: Hans de Goede <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions