linux_dsm_epyc7002/drivers/gpu/drm/amd/display/amdgpu_dm
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
..
amdgpu_dm_color.c drm/amd/display: Convert CTM to 2's complement 2018-03-14 15:08:43 -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 drm/amd/display: add diags clock programming 2018-03-05 15:34:40 -05:00
amdgpu_dm_irq.c drm/amd/display: Set irq state only on existing crtcs 2018-02-19 14:19:28 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: make dm_dp_aux_transfer return payload bytes instead of size 2018-02-28 15:38:40 -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: Correct the plane enumeration order (v2) 2018-03-14 15:16:34 -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