mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 17:17:04 -04:00
drm/amd/display: swap system aperture high/low
[why] Currently logical values are swapped in HW, causing system aperture to be undefined, so VA and PA cannot co-exist [how] program values correctly Signed-off-by: Jun Lei <Jun.Lei@amd.com> Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1153,8 +1153,8 @@ void dcn20_enable_plane(
|
||||
|
||||
apt.sys_default.quad_part = 0;
|
||||
|
||||
apt.sys_high.quad_part = dc->vm_pa_config.system_aperture.start_addr;
|
||||
apt.sys_low.quad_part = dc->vm_pa_config.system_aperture.end_addr;
|
||||
apt.sys_low.quad_part = dc->vm_pa_config.system_aperture.start_addr;
|
||||
apt.sys_high.quad_part = dc->vm_pa_config.system_aperture.end_addr;
|
||||
|
||||
// Program system aperture settings
|
||||
pipe_ctx->plane_res.hubp->funcs->hubp_set_vm_system_aperture_settings(pipe_ctx->plane_res.hubp, &apt);
|
||||
|
||||
Reference in New Issue
Block a user