diff options
author | Dave Airlie <airlied@redhat.com> | 2009-09-21 14:33:58 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-21 15:00:27 +1000 |
commit | 28d520433b6375740990ab99d69b0d0067fd656b (patch) | |
tree | d3affea0fb69f84b9c924c03d78c5df23946306f /include/drm | |
parent | aadd4e17452d3d5c2269cd2b000b7de7cfb6c79e (diff) | |
download | kernel_samsung_smdk4412-28d520433b6375740990ab99d69b0d0067fd656b.zip kernel_samsung_smdk4412-28d520433b6375740990ab99d69b0d0067fd656b.tar.gz kernel_samsung_smdk4412-28d520433b6375740990ab99d69b0d0067fd656b.tar.bz2 |
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 eeefb63..c8e64bb 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -810,6 +810,9 @@ struct drm_driver { int (*gem_init_object) (struct drm_gem_object *obj); void (*gem_free_object) (struct drm_gem_object *obj); + /* vga arb irq handler */ + void (*vgaarb_irq)(struct drm_device *dev, bool state); + /* Driver private ops for this object */ struct vm_operations_struct *gem_vm_ops; |