drm: Export drm_dev_init() for subclassing
Chris Wilson authored
In order to allow drivers to pack their privates and drm_device into one
struct (e.g. for subclassing), export the initialisation routines for
struct drm_device.

v2: Missed return ret. That error path had only one job to do!
v3: Cross-referencing drm_dev_init/drm_dev_alloc in kerneldoc, fix
missed error code for goto err_minors.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465993109-19523-2-git-send-email-chris@chris-wilson.co.uk
b209aca3
Name Last commit Last update
..
bridge drm: rockchip: dp: add rockchip platform dp driver
i2c drm/i2c: tda998x: add video and audio input configuration
ttm drm/ttm: implement LRU add callbacks v2
ati_pcigart.h drm: Move legacy buffer structures to <drm/drm_legacy.h>
drmP.h drm: Export drm_dev_init() for subclassing
drm_agpsupport.h drm: Give drm_agp_clear drm_legacy_ prefix
drm_atomic.h drm/atomic: Add struct drm_crtc_commit to track async updates
drm_atomic_helper.h drm: Fix comment making reference to non-existing function
drm_cache.h drm: Loongson-3 doesn't fully support wc memory
drm_core.h drm: Fix support for PCI domains
drm_crtc.h drm/atomic-helper: nonblocking commit support
drm_crtc_helper.h drm: drm_helper_crtc_enable_color_mgmt() => drm_crtc_enable_color_mgmt()
drm_displayid.h drm/edid: add displayid detailed 1 timings to the modelist. (v1.1)
drm_dp_aux_dev.h drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.
drm_dp_dual_mode_helper.h drm: Add helper for DP++ adaptors
drm_dp_helper.h Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next-queued
drm_dp_mst_helper.h drm/dp/mst: move GUID storage from mgr, port to only mst branch
drm_edid.h drm: probe_helper: Hide ugly ifdef
drm_encoder_slave.h drm: Constify drm_encoder_slave_funcs
drm_fb_cma_helper.h drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()
drm_fb_helper.h drm: Replace fb_helper->atomic with mode_config->atomic_commit
drm_fixed.h drm: Add drm_fixp_from_fraction and drm_fixp2int_ceil
drm_flip_work.h drm: flip-work: change drm_flip_work_init prototype
drm_fourcc.h drm: Move format-related helpers to drm_fourcc.c
drm_gem.h drm: Remove unused drm_device from drm_gem_object_lookup()
drm_gem_cma_helper.h
drm_global.h
drm_hashtab.h
drm_legacy.h
drm_mem_util.h
drm_mipi_dsi.h
drm_mm.h
drm_modes.h
drm_modeset_helper_vtables.h
drm_modeset_lock.h
drm_of.h
drm_os_linux.h
drm_panel.h
drm_pciids.h
drm_plane_helper.h
drm_rect.h
drm_simple_kms_helper.h
drm_sysfs.h
drm_vma_manager.h
gma_drm.h
i915_component.h
i915_drm.h
i915_pciids.h
intel-gtt.h