diff options
author | Dave Airlie <airlied@redhat.com> | 2021-01-15 13:17:54 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2021-01-15 13:26:44 +1000 |
commit | c8f6364f35f32786dd40336cfa35b9166d91b8ab (patch) | |
tree | 50f92ed8f3092c9b739a92d607a1ee558007cb5a /drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h | |
parent | 8e1095901deaa2ed4f243388b776d003ab945d8c (diff) | |
parent | caeb6ab899c3d36a74cda6e299c6e1c9c4e2a22e (diff) |
Merge branch '04.00-ampere-lite-fixes' of git://github.com/skeggsb/linux into drm-fixesdrm-fixes-2021-01-15
As requested, here's a tree with the non-Ampere-specific fixes split
out, as most of them are potentially relevant to already-supported
GPUs.
- irq handling fix
- expansion ROM fix
- hw init dpcd disable
- aux semaphore owner field fix
- vram heap sizing fix
- notifier at 0 is valid fix
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Ben Skeggs <skeggsb@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/CACAvsv4P90mcF_ByAh+ghz+ZVD2N2bPbD7xHYYArE1kYrvsGcQ@mail.gmail.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 *); |