linux_dsm_epyc7002/drivers/gpu/drm/amd
Shirish S df534fff0d drm/amd/display: Correct the plane enumeration order (v2)
The order of planes is given by the order they are enumerated
by kms.
Planes with a higher ID appears above planes with a lower ID.

Currently the planes are enumerated in the wrong order,
putting the nv12 only plane after the two RGBA planes.

This patch corrects the plane enumeration order such that all
the overlay planes are initialized first then the primary planes.

Due to this change in order the dc_add_plane_to_context() shall
receive the planes in reverse order hence this patch reverses
the parsing of planes in DM side itself.

v2: drop local reverse macro for upstream

Signed-off-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-03-14 15:16:34 -05:00
..
acp
amdgpu drm/amdgpu: Remove some unused elements from amdgpu_connector struct 2018-03-14 15:08:40 -05:00
amdkfd
display drm/amd/display: Correct the plane enumeration order (v2) 2018-03-14 15:16:34 -05:00
include drm/amd/amdgpu: re-add missing GC 9.1 and SDMA0 4.1 sh_mask header files 2018-03-07 16:10:13 -05:00
lib
powerplay drm/amd/pp: fix missing CONFIG_ACPI. 2018-03-14 10:54:55 +10:00