lkml.org 
[lkml]   [2022]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6.0 756/862] drm/amd/display: correct hostvm flag
    Date
    From: Sherry Wang <Yao.Wang1@amd.com>

    [ Upstream commit 796d6a37ff5ffaf9f2dc0f3f4bf9f4a1034c00de ]

    [Why]
    Hostvm should be enabled/disabled accordding to
    the status of riommu_active, but hostvm always
    be disabled on DCN31 which causes underflow

    [How]
    Set correct hostvm flag on DCN31

    Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
    Acked-by: Wayne Lin <wayne.lin@amd.com>
    Signed-off-by: Sherry Wang <Yao.Wang1@amd.com>
    Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
    index aedff18aff56..2e5a21856eee 100644
    --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
    +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
    @@ -891,7 +891,7 @@ static const struct dc_debug_options debug_defaults_drv = {
    .optimize_edp_link_rate = true,
    .enable_sw_cntl_psr = true,
    .enable_z9_disable_interface = true, /* Allow support for the PMFW interface for disable Z9*/
    - .dml_hostvm_override = DML_HOSTVM_OVERRIDE_FALSE,
    + .dml_hostvm_override = DML_HOSTVM_NO_OVERRIDE,
    };

    static const struct dc_debug_options debug_defaults_diags = {
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-10-19 11:33    [W:2.275 / U:0.168 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site