aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
diff options
context:
space:
mode:
authorShirish S <shirish.s@amd.com>2018-02-27 14:48:13 +0530
committerAlex Deucher <alexander.deucher@amd.com>2018-03-14 15:16:34 -0500
commitdf534fff0d23ba55a5880e592ec2901fdc09fdf6 (patch)
tree98212af32fc34ba46fab6341ac006a022dc35672 /drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
parent9eee21376b62bba656533438d2a9f0d966d4e487 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c')
0 files changed, 0 insertions, 0 deletions