]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amd/display: initialize RN gpuvm context programming function
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 2 Oct 2019 19:55:48 +0000 (15:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:28:16 +0000 (16:28 -0400)
Renoir can use vm contexes as long as HOSTVM is off so
this should be initialized.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c

index 2232ccf14bdd7d77bb5d690ccae5f5bd1da20f3d..44f64a8e33f1bd0df76dd0a7645661ea3c761add 100644 (file)
@@ -628,7 +628,7 @@ void hubbub21_apply_DEDCN21_147_wa(struct hubbub *hubbub)
 static const struct hubbub_funcs hubbub21_funcs = {
        .update_dchub = hubbub2_update_dchub,
        .init_dchub_sys_ctx = hubbub21_init_dchub,
-       .init_vm_ctx = NULL,
+       .init_vm_ctx = hubbub2_init_vm_ctx,
        .dcc_support_swizzle = hubbub2_dcc_support_swizzle,
        .dcc_support_pixel_format = hubbub2_dcc_support_pixel_format,
        .get_dcc_compression_cap = hubbub2_get_dcc_compression_cap,