aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc.h
diff options
context:
space:
mode:
authorChris Park <chris.park@amd.com>2024-11-15 15:44:52 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-12-02 18:35:32 -0500
commit0c0a19430bfdfedab437e77b9262e8e62ced384e (patch)
treeed694121e45c16cc6b9045e8fd7b122c1e4cfb66 /drivers/gpu/drm/amd/display/dc/dc.h
parenta29997b7ac1f5c816b543e0c56aa2b5b56baac24 (diff)
downloadlinux-0c0a19430bfdfedab437e77b9262e8e62ced384e.tar.gz
linux-0c0a19430bfdfedab437e77b9262e8e62ced384e.tar.bz2
linux-0c0a19430bfdfedab437e77b9262e8e62ced384e.zip
drm/amd/display: Add hblank borrowing support
[WHY] Some DSC timing failed at bandwidth validation due to hactive can't be evenly divided on each ODM segment. [HOW] Borrow from hblank to increase hactive to support these timing. Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Reviewed-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Chris Park <chris.park@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 1dda5fc2e212..e9b9126c0401 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -1069,6 +1069,7 @@ struct dc_debug_options {
unsigned int scale_to_sharpness_policy;
bool skip_full_updated_if_possible;
unsigned int enable_oled_edp_power_up_opt;
+ bool enable_hblank_borrow;
};