artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7cecf
)
Revert "drm/amd/display: Fix DCN3 B0 DP Alt Mapping"
author
jsg
<jsg@openbsd.org>
Wed, 22 Jun 2022 22:46:24 +0000
(22:46 +0000)
committer
jsg
<jsg@openbsd.org>
Wed, 22 Jun 2022 22:46:24 +0000
(22:46 +0000)
From Stylon Wang
22fbef00c9a3d1aac705e3dc3493bad92360bb41
in linux 5.15.y/5.15.49
1039188806d4cfdf9c412bb4ddb51b4d8cd15478
in mainline linux
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c
b/sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c
index
310ced5
..
b60ab3c
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c
+++ b/
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c
@@
-1294,12
+1294,6
@@
static struct stream_encoder *dcn31_stream_encoder_create(
if (!enc1 || !vpg || !afmt)
return NULL;
- if (ctx->asic_id.chip_family == FAMILY_YELLOW_CARP &&
- ctx->asic_id.hw_internal_rev == YELLOW_CARP_B0) {
- if ((eng_id == ENGINE_ID_DIGC) || (eng_id == ENGINE_ID_DIGD))
- eng_id = eng_id + 3; // For B0 only. C->F, D->G.
- }
-
dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios,
eng_id, vpg, afmt,
&stream_enc_regs[eng_id],