linux/drivers/gpu/drm/amd/display/amdgpu_dm
Harry Wentland f287765680 drm/amd/display: Disallow enabling CRTC without primary plane with FB
The below commit

    "drm/atomic: Try to preserve the crtc enabled state in drm_atomic_remove_fb, v2"

introduces a slight behavioral change to rmfb. Instead of disabling a crtc
when the primary plane is disabled, it now preserves it.

Since DC is currently not equipped to handle this we need to fail such
a commit, otherwise we might see a corrupted screen.

This is based on Shirish's previous approach but avoids adding all
planes to the new atomic state which leads to a full update in DC for
any commit, and is not what we intend.

Theoretically DM should be able to deal with states with fully populated planes,
even for simple updates, such as cursor updates. This should still be
addressed in the future.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-04-25 10:07:49 -05:00
..
amdgpu_dm_color.c drm/amd/display: Don't program bypass on linear regamma LUT 2018-04-19 10:19:11 -05:00
amdgpu_dm_crc.c drm/amd/display: Skip 2 frames when first reading CRC 2018-02-19 14:20:11 -05:00
amdgpu_dm_helpers.c Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
amdgpu_dm_irq.c drm/amd/display: Fix deadlock when flushing irq 2018-04-25 10:07:29 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Check msg->size before starting aux transfer 2018-03-14 16:01:15 -05:00
amdgpu_dm_mst_types.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
amdgpu_dm_services.c drm/amd/display: Remove unused dm_pp_ interfaces 2018-02-19 14:20:16 -05:00
amdgpu_dm.c drm/amd/display: Disallow enabling CRTC without primary plane with FB 2018-04-25 10:07:49 -05:00
amdgpu_dm.h drm/amd/display: Use 4096 lut entries 2018-03-05 15:33:09 -05:00
Makefile drm/amd/display: Implement color management 2018-02-19 14:20:06 -05:00