diff options
author | Alvin Lee <Alvin.Lee2@amd.com> | 2023-02-24 10:39:17 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-07 14:22:41 -0500 |
commit | 7da2bcda5899e92ef3442d5997154d8220245370 (patch) | |
tree | 2d19b4f66c737fd848b62026c3ac166cab9f0cd6 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 97fa4dfa66fdd52ad3d0c9fadeaaa1e87605bac7 (diff) |
drm/amd/display: Pass tg and hubp inst instead of pipe index for SubVP
[Description]
- For pipe harvesting cases, the pipe index does not necessarily
match up with the OTG instance, so pass index by OTG Instance instead
- For pipe split cases pass HUBP instance, since the split index is
only used for HUBP programming
- Also check for OPP ID when accessing opp for pipe harvesting cases
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions