diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2021-11-23 11:18:03 +0300 |
---|---|---|
committer | Karol Herbst <kherbst@redhat.com> | 2021-12-16 20:46:10 +0300 |
commit | 405d5382ba083e6e54df354909b1583f1e3cb0db (patch) | |
tree | 85188e56022309af2c211116036546920f185bba /drivers/gpu/drm/nouveau | |
parent | f21e5fa191be05616e3250723c5c4cadc9baf84a (diff) | |
download | linux-405d5382ba083e6e54df354909b1583f1e3cb0db.tar.xz |
drm/nouveau/disp/dp: add support for hbr3
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/17
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c index b0dfa08f799a..ab78842371e8 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c @@ -588,7 +588,7 @@ nvkm_dp_enable(struct nvkm_dp *dp, bool enable) } if (!nvkm_rdaux(aux, DPCD_RC00_DPCD_REV, dp->dpcd, sizeof(dp->dpcd))) { - const u8 rates[] = { 0x14, 0x0a, 0x06, 0 }; + const u8 rates[] = { 0x1e, 0x14, 0x0a, 0x06, 0 }; const u8 *rate; int rate_max; diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h index 8728d5e0fb8a..3b751cd09a16 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h @@ -24,7 +24,7 @@ struct nvkm_dp { struct { u32 rate; - } rate[3]; + } rate[4]; int rates; int links; |