summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/include/nvif/if0010.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2022-06-01 20:46:30 +1000
committerDave Airlie <airlied@redhat.com>2022-07-27 09:05:48 +1000
commit95983aea80038539ebc70e41e73e9bb4eabd1a92 (patch)
treeb84b8c5f8661a87d701c5478b3a7b66122b61b1e /drivers/gpu/drm/nouveau/include/nvif/if0010.h
parent889fcbe949bdd8470931a90b91f273ca18c510c1 (diff)
drm/nouveau/disp: add connector class
Will be used to provide more solid driver interfaces in general, but the immediate motivation is work towards fixing issues with handling hotplug/DP IRQ events. Its use is currently limited to where we support non-polled hotplug already (ie. any GPU since NV40ish era, where our DCB handling works well enough), until that gets cleaned up someday. v2: - use ?: (lyude) Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvif/if0010.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/if0010.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/if0010.h b/drivers/gpu/drm/nouveau/include/nvif/if0010.h
index fc22191868d8..3af495dbd4c6 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/if0010.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/if0010.h
@@ -5,7 +5,8 @@
union nvif_disp_args {
struct nvif_disp_v0 {
__u8 version;
- __u8 pad01[7];
+ __u8 pad01[3];
+ __u32 conn_mask;
} v0;
};
#endif