drm/<drivers>: don't set driver->dev_priv_size to 0
Especially not on modesetting drivers - this is used to size the driver private structure for legacy drm buffers. Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -214,7 +214,6 @@ static struct pci_driver qxl_pci_driver = {
|
||||
static struct drm_driver qxl_driver = {
|
||||
.driver_features = DRIVER_GEM | DRIVER_MODESET |
|
||||
DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED,
|
||||
.dev_priv_size = 0,
|
||||
.load = qxl_driver_load,
|
||||
.unload = qxl_driver_unload,
|
||||
|
||||
|
Reference in New Issue
Block a user