linux/drivers/gpu/drm
Daniel Vetter 70a59dd829 drm/<drivers>: Constify struct drm_driver
Only the following drivers aren't converted:
- amdgpu, because of the driver_feature mangling due to virt support.
  Subsequent patch will address this.
- nouveau, because DRIVER_ATOMIC uapi is still not the default on the
  platforms where it's supported (i.e. again driver_feature mangling)
- vc4, again because of driver_feature mangling
- qxl, because the ioctl table is somewhere else and moving that is
  maybe a bit too much, hence the num_ioctls assignment prevents a
  const driver structure.
- arcpgu, because that is stuck behind a pending tiny-fication series
  from me.
- legacy drivers, because legacy requires non-const drm_driver.

Note that for armada I also went ahead and made the ioctl array const.

Only cc'ing the driver people who've not been converted (everyone else
is way too much).

v2: Fix one misplaced const static, should be static const (0day)

v3:
- Improve commit message (Sam)

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: kernel test robot <lkp@intel.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Eric Anholt <eric@anholt.net>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201104100425.1922351-5-daniel.vetter@ffwll.ch
2020-11-06 10:31:26 +01:00
..
amd drm/amdgpu/virt: fix handling of the atomic flag 2020-11-06 10:31:26 +01:00
arc drm/atomic: Pass the full state to CRTC atomic enable/disable 2020-10-09 09:55:59 +02:00
arm drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
armada drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
aspeed drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
ast drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
atmel-hlcdc drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
bochs drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
bridge gpu: drm: bridge: analogix: analogix_dp_reg: Remove unused function 'analogix_dp_write_byte_to_dpcd' 2020-11-05 22:18:44 +01:00
etnaviv drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
exynos drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
fsl-dcu drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
gma500 drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
hisilicon drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
i2c
i810 drm/i810: make i810_flush_queue() return void 2020-09-11 10:54:17 +02:00
i915 drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
imx drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
ingenic drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
kmb drm/kmb: Build files for KeemBay Display driver 2020-11-05 19:20:38 +01:00
lib
lima drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
mcde drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
mediatek drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
meson drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
mga
mgag200 drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
msm drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
mxsfb drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
nouveau drm/nouveau/kms/nv50-: Use state helper instead of crtc pointer 2020-11-03 12:20:09 +01:00
omapdrm drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
panel drm/panel: panel-ilitek-ili9322: Demote non-conformant kernel-doc header 2020-11-05 22:17:15 +01:00
panfrost drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
pl111 drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
qxl drm/qxl: replace idr_init() by idr_init_base() 2020-11-06 08:50:31 +01:00
r128
radeon drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
rcar-du drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
rockchip drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
savage
scheduler Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
selftests
shmobile drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
sis
sti drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
stm drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
sun4i drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
tdfx
tegra drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
tidss drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
tilcdc drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
tiny drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
ttm drm/ttm: replace context flags with bools v2 2020-11-04 11:23:25 +01:00
tve200 drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
udl drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
v3d drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
vboxvideo drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
vc4 drm: Use the state pointer directly in atomic_check 2020-11-03 12:20:09 +01:00
vgem drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
via drm/via: reduce no need mutex_lock area 2020-10-17 10:10:24 +02:00
virtio drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
vkms drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
vmwgfx drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
xen drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
xlnx drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
zte drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
drm_agpsupport.c
drm_atomic.c drm/atomic: document and enforce rules around "spurious" EBUSY 2020-10-08 11:30:03 +02:00
drm_atomic_helper.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
drm_atomic_state_helper.c
drm_atomic_uapi.c
drm_auth.c
drm_blend.c
drm_bridge.c
drm_bridge_connector.c gpu/drm: delete same check in if condition 2020-11-02 14:04:53 +01:00
drm_bufs.c
drm_cache.c drm: core: fix common struct sg_table related issues 2020-09-10 08:17:48 +02:00
drm_client.c
drm_client_modeset.c
drm_color_mgmt.c drm: unify formatting for color management documentation 2020-11-04 17:47:57 +01:00
drm_connector.c drm: document that user-space should avoid parsing EDIDs 2020-10-22 13:49:14 +02:00
drm_context.c
drm_crtc.c
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_damage_helper.c
drm_debugfs.c
drm_debugfs_crc.c
drm_dma.c
drm_dp_aux_dev.c drm/dp_aux_dev: check aux_dev before use in drm_dp_aux_dev_get_by_minor() 2020-10-15 13:58:54 -04:00
drm_dp_cec.c
drm_dp_dual_mode_helper.c
drm_dp_helper.c drm/dp: fix kernel-doc warnings at drm_dp_helper.c 2020-10-27 11:20:36 +01:00
drm_dp_mst_topology.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
drm_dp_mst_topology_internal.h
drm_drv.c drm: Allow const struct drm_driver 2020-11-06 10:31:26 +01:00
drm_dsc.c
drm_dumb_buffers.c
drm_edid.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
drm_edid_load.c
drm_encoder.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
drm_file.c drm: Compile out legacy chunks from struct drm_device 2020-11-06 10:31:26 +01:00
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c drm/fourcc: Add AXBXGXRX106106106106 format 2020-10-20 20:51:42 +01:00
drm_framebuffer.c gpu/drm: cleanup coding style a bit 2020-09-09 11:45:18 +02:00
drm_gem.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
drm_gem_cma_helper.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
drm_gem_framebuffer_helper.c
drm_gem_shmem_helper.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
drm_gem_ttm_helper.c drm/ttm: merge offset and base in ttm_bus_placement 2020-09-08 10:43:30 +02:00
drm_gem_vram_helper.c drm/vram_helpers: drop ttm_page_alloc.h include 2020-10-29 15:57:47 +01:00
drm_hashtab.c
drm_hdcp.c
drm_internal.h drm: Give irq_by_busid drm_legacy_ prefix 2020-10-21 18:05:11 +02:00
drm_ioc32.c
drm_ioctl.c drm: Give irq_by_busid drm_legacy_ prefix 2020-10-21 18:05:11 +02:00
drm_irq.c
drm_kms_helper_common.c
drm_lease.c
drm_legacy.h
drm_legacy_misc.c
drm_lock.c
drm_managed.c drm/dev: Remove drm_dev_init 2020-09-21 10:45:08 +02:00
drm_memory.c
drm_mipi_dbi.c
drm_mipi_dsi.c
drm_mm.c
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c
drm_panel.c
drm_panel_orientation_quirks.c
drm_pci.c drm: Give irq_by_busid drm_legacy_ prefix 2020-10-21 18:05:11 +02:00
drm_plane.c
drm_plane_helper.c
drm_prime.c drm: Remove SCATTERLIST_MAX_SEGMENT 2020-11-02 14:42:57 +01:00
drm_print.c
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c drm: Use the state pointer directly in atomic_check 2020-11-03 12:20:09 +01:00
drm_syncobj.c
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vblank.c drm: Compile out legacy chunks from struct drm_device 2020-11-06 10:31:26 +01:00
drm_vblank_work.c
drm_vm.c
drm_vma_manager.c
drm_writeback.c
Kconfig drm/kmb: Build files for KeemBay Display driver 2020-11-05 19:20:38 +01:00
Makefile drm/kmb: Build files for KeemBay Display driver 2020-11-05 19:20:38 +01:00