]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: gpuvm handling in DML21
authorNevenko Stupar <nevenko.stupar@amd.com>
Tue, 16 Apr 2024 14:29:54 +0000 (10:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:56:44 +0000 (09:56 -0400)
commit05c5ffaac770bbf815def6a18f93d54fcf47cc5b
treef6bdeb3cb94f7180eb52635f1739b636ec70c660
parent984debc133efa05e62f5aa1a7a1dd8ca0ef041f4
drm/amd/display: gpuvm handling in DML21

[Why & How]
Currently in DML2.1 gpuvm_enable was hardcoded.

Use passed info from DC for DML21 to be in sync with
what is used in DC.

Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Nevenko Stupar <nevenko.stupar@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_vm_helper.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h