diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-08-27 02:43:56 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-08-27 02:43:56 +0000 |
commit | 50f7886690e1df8b88adbea6b3880f1395b1961f (patch) | |
tree | 6475acc35e489b9068e0cf4e4cc73d2a7dfdbb80 /sys/dev/pci/drm | |
parent | 6a8384f633c59f1b75d65a19d61ba95f42306856 (diff) |
drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
From Bing Guo
dcc8c5fb8d8595f5061c7b000ca1d16449a5e865 in linux 5.10.y/5.10.61
06050a0f01dbac2ca33145ef19a72041206ea983 in mainline linux
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r-- | sys/dev/pci/drm/amd/display/dc/dcn20/dcn20_optc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/display/dc/dcn20/dcn20_optc.c b/sys/dev/pci/drm/amd/display/dc/dcn20/dcn20_optc.c index d8b18c515d0..e3cfb442a06 100644 --- a/sys/dev/pci/drm/amd/display/dc/dcn20/dcn20_optc.c +++ b/sys/dev/pci/drm/amd/display/dc/dcn20/dcn20_optc.c @@ -357,7 +357,7 @@ void optc2_lock_doublebuffer_enable(struct timing_generator *optc) REG_UPDATE_2(OTG_GLOBAL_CONTROL1, MASTER_UPDATE_LOCK_DB_X, - h_blank_start - 200 - 1, + (h_blank_start - 200 - 1) / optc1->opp_count, MASTER_UPDATE_LOCK_DB_Y, v_blank_start - 1); } |