diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2533-drm-amd-display-Add-debug-flag-for-VSR-support.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2533-drm-amd-display-Add-debug-flag-for-VSR-support.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2533-drm-amd-display-Add-debug-flag-for-VSR-support.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2533-drm-amd-display-Add-debug-flag-for-VSR-support.patch new file mode 100644 index 00000000..ad5edd07 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2533-drm-amd-display-Add-debug-flag-for-VSR-support.patch @@ -0,0 +1,53 @@ +From 79cab68d93e7b45a5e525bc9e24abc5bb77a2e8d Mon Sep 17 00:00:00 2001 +From: Charlene Liu <charlene.liu@amd.com> +Date: Mon, 2 Oct 2017 16:25:58 -0400 +Subject: [PATCH 2533/4131] drm/amd/display: Add debug flag for VSR support + +Signed-off-by: Charlene Liu <charlene.liu@amd.com> +Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> +Acked-by: Harry Wentland <Harry.Wentland@amd.com> +--- + drivers/gpu/drm/amd/display/dc/dc.h | 1 + + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 1 + + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h +index 732276f..a703a2d 100644 +--- a/drivers/gpu/drm/amd/display/dc/dc.h ++++ b/drivers/gpu/drm/amd/display/dc/dc.h +@@ -218,6 +218,7 @@ struct dc_debug { + bool disable_hbup_pg; + bool disable_dpp_pg; + bool stereo_support; ++ bool vsr_support; + }; + struct dc_state; + struct resource_pool; +diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c +index cf3a283..6bce7c4 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c +@@ -428,6 +428,7 @@ static const struct dc_debug debug_defaults_drv = { + .pipe_split_policy = MPC_SPLIT_AVOID_MULT_DISP, + .disable_dcc = DCC_ENABLE, + .voltage_align_fclk = true, ++ .vsr_support = true, + }; + + static const struct dc_debug debug_defaults_diags = { +diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c +index 8dbc82f..178dadd 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c +@@ -25,6 +25,7 @@ + + #include "reg_helper.h" + #include "dcn10_timing_generator.h" ++#include "dc.h" + + #define REG(reg)\ + tgn10->tg_regs->reg +-- +2.7.4 + |