Loading drivers/gpu/drm/drm_irq.c +2 −1 Original line number Diff line number Diff line Loading @@ -1012,7 +1012,8 @@ int drm_modeset_ctl(struct drm_device *dev, void *data, struct drm_file *file_priv) { struct drm_modeset_ctl *modeset = data; int crtc, ret = 0; int ret = 0; unsigned int crtc; /* If drm_vblank_init() hasn't been called yet, just no-op */ if (!dev->num_crtcs) Loading drivers/gpu/drm/nouveau/nouveau_bo.c +4 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,10 @@ nouveau_bo_del_ttm(struct ttm_buffer_object *bo) DRM_ERROR("bo %p still attached to GEM object\n", bo); nv10_mem_put_tile_region(dev, nvbo->tile, NULL); if (nvbo->vma.node) { nouveau_vm_unmap(&nvbo->vma); nouveau_vm_put(&nvbo->vma); } kfree(nvbo); } Loading include/drm/drmP.h +1 −1 Original line number Diff line number Diff line Loading @@ -1101,7 +1101,7 @@ struct drm_device { struct platform_device *platformdev; /**< Platform device struture */ struct drm_sg_mem *sg; /**< Scatter gather memory */ int num_crtcs; /**< Number of CRTCs on this device */ unsigned int num_crtcs; /**< Number of CRTCs on this device */ void *dev_private; /**< device private data */ void *mm_private; struct address_space *dev_mapping; Loading Loading
drivers/gpu/drm/drm_irq.c +2 −1 Original line number Diff line number Diff line Loading @@ -1012,7 +1012,8 @@ int drm_modeset_ctl(struct drm_device *dev, void *data, struct drm_file *file_priv) { struct drm_modeset_ctl *modeset = data; int crtc, ret = 0; int ret = 0; unsigned int crtc; /* If drm_vblank_init() hasn't been called yet, just no-op */ if (!dev->num_crtcs) Loading
drivers/gpu/drm/nouveau/nouveau_bo.c +4 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,10 @@ nouveau_bo_del_ttm(struct ttm_buffer_object *bo) DRM_ERROR("bo %p still attached to GEM object\n", bo); nv10_mem_put_tile_region(dev, nvbo->tile, NULL); if (nvbo->vma.node) { nouveau_vm_unmap(&nvbo->vma); nouveau_vm_put(&nvbo->vma); } kfree(nvbo); } Loading
include/drm/drmP.h +1 −1 Original line number Diff line number Diff line Loading @@ -1101,7 +1101,7 @@ struct drm_device { struct platform_device *platformdev; /**< Platform device struture */ struct drm_sg_mem *sg; /**< Scatter gather memory */ int num_crtcs; /**< Number of CRTCs on this device */ unsigned int num_crtcs; /**< Number of CRTCs on this device */ void *dev_private; /**< device private data */ void *mm_private; struct address_space *dev_mapping; Loading