diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-07-19 16:49:59 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-07-24 12:15:24 +1000 |
commit | 13a86519202c5d119d83640d6f781f3181205d2c (patch) | |
tree | d7a7f35bb97adf34587a8f770e92752647268ba1 /drivers/gpu/drm/nouveau/nouveau_connector.c | |
parent | 5896ec77d70d33dd38a455b0aa5f3154aeecea09 (diff) |
drm/nouveau/i2c/gf119-: add support for address-only transactions
Since switching the I2C-over-AUX helpers, there have been regressions on
some display combinations due to us not having support for "address only"
transactions.
This commits enables support for them for GF119 and newer.
Earlier GPUs have been reverted to a custom I2C-over-AUX algorithm.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 147b22163f9f..dab78c660dd6 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c @@ -1158,8 +1158,6 @@ nouveau_connector_aux_xfer(struct drm_dp_aux *obj, struct drm_dp_aux_msg *msg) return -ENODEV; if (WARN_ON(msg->size > 16)) return -E2BIG; - if (msg->size == 0) - return msg->size; ret = nvkm_i2c_aux_acquire(aux); if (ret) |