disp/nvd0-: allow 540MHz data rate for nvd0+ devices
PATCH 1/1 disp/nvd0-: allow 540MHz data rate for nvd0+ devices
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76319
---
It's unclear to me whether GF11x devices actually support this, but the disp "split" is at nvd0, so I went with that. The marketing docs are fairly unclear. However most of them don't actually have DP in the first place, so it may not be a huge issue.
I don't have the hardware for testing this myself, but hopefully someone can verify that this doesn't break "regular" non-4K setups.
nvkm/engine/disp/dport.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
nvkm/engine/disp/dport.c +4 -1
@@ -273,12 +273,15 @@ nouveau_dp_train(struct nouveau_disp *disp, const struct nouveau_dp_func *func, .outp = outp, .head = head, }, *dp = &_dp; -const u32 bw_list[] = {270000 ,162000 ,0 }; +const u32 bw_list[] = {540000 ,270000 ,162000 ,0 };const u32 *link_bw = bw_list;u8 hdr, cnt, len;u32 data;int ret; +if (nouveau_device (disp)->card_type <NV_D0 ) + link_bw++; +/* find the bios displayport data relevant to this output */ data =nvbios_dpout_match (bios, outp->hasht, outp->hashm, &dp->version, &hdr, &cnt, &len, &dp->info);
Signature · 1 line
1.8.3.2