diff options
author | Sung Joon Kim <sungkim@amd.com> | 2023-10-11 17:12:05 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-07 12:03:30 -0500 |
commit | 35c1d9664cbfa3a592c208cff86353c7c7689eef (patch) | |
tree | 2cd44ed62773235b7bdba2bce0da393c96f6cfda /drivers/tee | |
parent | ed6e2782e9747508888f671e1101250bb19045be (diff) | |
download | linux-stable-35c1d9664cbfa3a592c208cff86353c7c7689eef.tar.gz linux-stable-35c1d9664cbfa3a592c208cff86353c7c7689eef.tar.bz2 linux-stable-35c1d9664cbfa3a592c208cff86353c7c7689eef.zip |
drm/amd/display: Fix handling duplicate planes on one stream
[why]
DML2 does not handle the case when we have
a single stream sourcing 2 or more planes
that are duplicates of one another. To properly
handle this scenario, pipe index to plane index
mapping is used to decide which plane is being
processed and programmed.
[how]
Create static array of pipe index to plane index map.
Populate the array properly and use in appropriate places.
Reviewed-by: Xi (Alex) Liu <xi.liu@amd.com>
Acked-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Sung Joon Kim <sungkim@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/tee')
0 files changed, 0 insertions, 0 deletions