[Nouveau] [PATCH 0/6] improve feature detection

Karol Herbst
2018-07-20T15:17:23Z

This is mainly for dropping interlaced modes on DP connectors if the GPU
would otherwise display garbage or EVO timesout.

It also adds experimental detection of the HDMI clock limit we currently
hard limit depending on the GPU generation.

Starting with GF110 GPUs, we can retrieve the limit directly from the GPU
and may make the hdmimhz parameter obsolete.

Testing this series with 2560x1440 or higher capable displays via HDMI
would be much appreciated, especially in cases where the hdmimhz option is
required to drive certain resolutions and is made obsolete with this.

Karol Herbst (6):
  kms/nv50: move nv50_mstm out of the dp union in nouveau_encoder
  kms/nv50: reject interlaced modes if the hardware doesn't support it
  kms/nv50: add core957d class
  kms/nv50: read out display max clocks
  kms/nv50: detect HDMI max MHz correctly
  kms/nv50: detect LVDS max MHz correctly

 drm/nouveau/dispnv50/Kbuild     |  1 +
 drm/nouveau/dispnv50/core.c     |  6 ++--
 drm/nouveau/dispnv50/core.h     | 21 ++++++++++++
 drm/nouveau/dispnv50/core507d.c | 25 ++++++++++++++
 drm/nouveau/dispnv50/core907d.c | 27 +++++++++++++++
 drm/nouveau/dispnv50/core917d.c |  2 ++
 drm/nouveau/dispnv50/core957d.c | 60 +++++++++++++++++++++++++++++++++
 drm/nouveau/dispnv50/disp.c     | 53 ++++++++++++++++++++---------
 drm/nouveau/nouveau_connector.c | 16 +++++++--
 drm/nouveau/nouveau_dp.c        |  2 +-
 drm/nouveau/nouveau_encoder.h   | 11 +++++-
 11 files changed, 201 insertions(+), 23 deletions(-)
 create mode 100644 drm/nouveau/dispnv50/core957d.c

--
2.17.1