OpenCloudOS-Kernel/drivers/gpu/drm/sti
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
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
NOTES
sti_awg_utils.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_awg_utils.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_compositor.c drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_compositor.h drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_crtc.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
sti_crtc.h drm/sti: Convert to CRTC VBLANK callbacks 2020-02-13 13:10:09 +01:00
sti_cursor.c drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_cursor.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_drv.c drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
sti_drv.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_dvo.c drm: Remove unnecessary drm_panel_attach and drm_panel_detach 2020-08-08 09:06:33 +02:00
sti_gdp.c drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_gdp.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_hda.c drm: Nuke mode->vrefresh 2020-05-27 14:31:42 +03:00
sti_hdmi.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
sti_hdmi.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_hdmi_tx3g4c28phy.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_hdmi_tx3g4c28phy.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp.c drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_hqvdp_lut.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_mixer.c drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_mixer.h drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_plane.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_plane.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_tvout.c drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_vid.c drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_vid.h drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_vtg.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
sti_vtg.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00