summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2021-11-23 11:18:03 +0300
committerKarol Herbst <kherbst@redhat.com>2021-12-16 20:46:10 +0300
commit405d5382ba083e6e54df354909b1583f1e3cb0db (patch)
tree85188e56022309af2c211116036546920f185bba /drivers/gpu/drm/nouveau
parentf21e5fa191be05616e3250723c5c4cadc9baf84a (diff)
downloadlinux-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.c2
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h2
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;