diff options
author | Dave Airlie <airlied@redhat.com> | 2009-09-21 00:33:58 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-21 01:00:27 -0400 |
commit | 28d520433b6375740990ab99d69b0d0067fd656b (patch) | |
tree | d3affea0fb69f84b9c924c03d78c5df23946306f /include/drm | |
parent | aadd4e17452d3d5c2269cd2b000b7de7cfb6c79e (diff) |
drm/vgaarb: add VGA arbitration support to the drm and kms.
VGA arb requires DRM support for non-kms drivers, to turn on/off
irqs when disabling the mem/io regions.
VGA arb requires KMS support for GPUs where we can turn off VGA
decoding. Currently we know how to do this for intel and radeon
kms drivers, which allows them to be removed from the arbiter.
This patch comes from Fedora rawhide kernel.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index eeefb6369e19..c8e64bbadbcf 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -810,6 +810,9 @@ struct drm_driver { | |||
810 | int (*gem_init_object) (struct drm_gem_object *obj); | 810 | int (*gem_init_object) (struct drm_gem_object *obj); |
811 | void (*gem_free_object) (struct drm_gem_object *obj); | 811 | void (*gem_free_object) (struct drm_gem_object *obj); |
812 | 812 | ||
813 | /* vga arb irq handler */ | ||
814 | void (*vgaarb_irq)(struct drm_device *dev, bool state); | ||
815 | |||
813 | /* Driver private ops for this object */ | 816 | /* Driver private ops for this object */ |
814 | struct vm_operations_struct *gem_vm_ops; | 817 | struct vm_operations_struct *gem_vm_ops; |
815 | 818 | ||