linux/drivers/gpu/drm/hisilicon/hibmc
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 drm/hisilicon: Removed the dependency on the mmu 2020-08-30 20:35:55 -04:00
Makefile drm/hisilicon: Support i2c driver algorithms for bit-shift adapters 2020-09-24 20:30:05 -04:00
hibmc_drm_de.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
hibmc_drm_drv.c drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
hibmc_drm_drv.h drm/hisilicon: Use the same style of variable type in hibmc_drm_drv 2020-10-18 20:36:27 -04:00
hibmc_drm_i2c.c drm/hisilicon: Support i2c driver algorithms for bit-shift adapters 2020-09-24 20:30:05 -04:00
hibmc_drm_regs.h drm/hisilicon: Add new clock/resolution configurations 2020-02-27 04:34:31 +00:00
hibmc_drm_vdac.c drm/hisilicon: Using the to_hibmc_drm_private to convert 2020-09-29 20:38:11 -04:00
hibmc_ttm.c drm/hisilicon: Use drm_err instead of DRM_ERROR in hibmc_ttm 2020-08-25 20:47:01 -04:00