drm/nouveau: don't attempt to schedule hpd_work on headless cards
[linux-2.6-block.git] / drivers / gpu / drm / nouveau / nouveau_drv.h
index e239c6bf4afa4f75d4ca30c63583af82f2ab9621..25fca98a20bcd9522a4ef091da3d5c5adfc682eb 100644 (file)
@@ -276,6 +276,7 @@ struct nouveau_drm {
        /* modesetting */
        struct nvbios vbios;
        struct nouveau_display *display;
+       bool headless;
        struct work_struct hpd_work;
        spinlock_t hpd_lock;
        u32 hpd_pending;