diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2021-01-13 17:12:52 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-01-15 10:25:16 +1000 |
commit | 8ad95edc39100c22c29ab1d2588332b99f387c8e (patch) | |
tree | 0ca0f0821408fafff3ea335847ae0161391bba1c /drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h | |
parent | b5510d1e21d80e2fa2286468ca8c2922f5895ef8 (diff) |
drm/nouveau/i2c/gk110-: disable hw-initiated dpcd reads
RM does this around transactions, and it seemed to help while debugging
AUXCH issues on GA102.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h index bd86bc298ebe..e35f6036fcfc 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h @@ -23,6 +23,10 @@ struct nvkm_i2c_func { /* mask on/off interrupt types for a given set of auxch */ void (*aux_mask)(struct nvkm_i2c *, u32, u32, u32); + + /* enable/disable HW-initiated DPCD reads + */ + void (*aux_autodpcd)(struct nvkm_i2c *, int aux, bool enable); }; void g94_aux_stat(struct nvkm_i2c *, u32 *, u32 *, u32 *, u32 *); |