linux/drivers/gpu/drm/amd/display/include
Nicholas Kazlauskas cadc58e024 drm/amd/display: Fix HostVM init and SOCBB VM config for DCN6
[Why]
Underflow occurs in testing for DCHVM and RIOMMU interop tests when
attempting to scan out surfaces in VM.

[How]
New registers have been added to DCN6 for HostVM to control which VFID
to prefetch by default. These need to be programmed during the VM init
sequence. The sequence validated from DCN42 is used (and xref'd with
the design documentation with hardware) with the register placed in
an ordering that appears correct.

HostVM and GPUVM are also currently disabled and set an incorrect
number of page table levels and min page size in the SOCBB for DCN6b.

These are updated, but driver also needs to select the B variant when
creating the SOC BB to ensure that they're piped into DML.

Lastly, the init function for the vm context is branched out to skip
initializing VMID 15 - this workaround should no longer be necessary
on DCN6.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-08-25 18:25:24 -04:00
..
audio_types.h drm/amd/display: Add HDMI FRL definitions to includes 2026-06-03 13:44:21 -04:00
bios_parser_interface.h
bios_parser_types.h drm/amd/display: Add HDMI FRL definitions to includes 2026-06-03 13:44:21 -04:00
dal_asic_id.h drm/amd/display: Fix HostVM init and SOCBB VM config for DCN6 2026-08-25 18:25:24 -04:00
dal_types.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
ddc_service_types.h drm/amd/display: Add PSR Active VTotal Control capability 2026-06-17 16:15:43 -04:00
dpcd_defs.h drm/amd/display: Add ESD detection for replay recovery 2026-03-11 10:56:00 -04:00
fixed31_32.h drm/amd/display: Fix warnings 2026-05-11 16:10:34 -04:00
gpio_interface.h
gpio_service_interface.h drm/amd/display: Implement HDMI Read Request 2025-04-21 11:27:25 -04:00
gpio_types.h drm/amd/display: add GPIO HW translation helpers 2026-07-01 11:18:45 -04:00
grph_object_ctrl_defs.h drm/amd/display: Delete disp_clk_voltage from integrated info (v2) 2026-05-27 10:44:58 -04:00
grph_object_defs.h
grph_object_id.h drm/amd/display: Add analog bit to edid_caps (v2) 2025-10-28 10:07:15 -04:00
hdcp_msg_types.h
irq_service_interface.h
link_service_types.h drm/amd/display: Add early 8b/10b channel equalization test pattern sequence 2025-05-13 09:31:21 -04:00
logger_interface.h drm/amdgpu: Remove unused pre_surface_trace 2025-03-05 10:44:40 -05:00
logger_types.h drm/amd/display: Add HDMI FRL definitions to includes 2026-06-03 13:44:21 -04:00
set_mode_types.h
signal_types.h drm/amd/display: Add HDMI FRL definitions to includes 2026-06-03 13:44:21 -04:00
vector.h