diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-01-07 15:39:13 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-01-08 13:12:09 +1000 |
commit | e77cef9c2d87db835ad9d70cde4a9b00b0ca2262 (patch) | |
tree | 27336938ecaeed58acb4218310f6b3dd516b5f26 /drivers/gpu/drm/radeon/radeon_irq_kms.c | |
parent | 059d233f9c1183ed2f59d631e4daf486060e880d (diff) |
drm: Avoid calling vblank function is vblank wasn't initialized
In some case vblank might not be initialized and we shouldn't
try to use associated function. This patch make sure this is
the case. It also export drm_vblank_cleanup so driver can cleanup
vblank if for any reason IRQ/MSI is not working.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_irq_kms.c')
0 files changed, 0 insertions, 0 deletions