summaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorWesley Chalmers <Wesley.Chalmers@amd.com>2020-08-25 10:57:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-09-15 17:52:40 -0400
commit05e3d830fac89af58b9b6a78e5a498f2984cd2cf (patch)
tree6c02b06cd83ffbc3b4d45f9ed21dad53c1f92b42 /lib/timerqueue.c
parent3fb068c3ec862b63b002e7818896cebea925e109 (diff)
drm/amd/display: Only use offset for first ODM pipe
[WHY] Only the first pipe in ODM combine group should have nonzero recout offset. All other pipes should have recout offset 0; otherwise there will be gaps in the image. [HOW] Set recout.x to 0 if the pipe is not the leftmost ODM pipe. When computing viewports, calculate the horizontal offset of a pipe's src based on the current pipe's position in the ODM group, plus whatever offset the leftmost ODM pipe has; otherwise there will be discontinuity in the image. Since ODM combine can only combine pipes horizontally, nothing needs to be done for recout.y. Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions