OpenCloudOS-Kernel/drivers/gpu/drm/rcar-du
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: rcar-du: Update description for DRM_RCAR_DW_HDMI Kconfig entry 2020-09-22 14:10:05 +03:00
Makefile drm: rcar-du: Add support for CMM 2019-12-18 02:40:03 +02:00
rcar_cmm.c drm: rcar-du: Add support for CMM 2019-12-18 02:40:03 +02:00
rcar_cmm.h drm: rcar-du: Add support for CMM 2019-12-18 02:40:03 +02:00
rcar_du_crtc.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
rcar_du_crtc.h drm: rcar-du: kms: Initialize CMM instances 2019-12-18 02:40:04 +02:00
rcar_du_drv.c drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
rcar_du_drv.h drm: rcar-du: kms: Initialize CMM instances 2019-12-18 02:40:04 +02:00
rcar_du_encoder.c drm/rcar-du: Use simple encoder 2020-04-02 14:16:45 +02:00
rcar_du_encoder.h drm: rcar-du: Simplify encoder registration 2019-02-08 02:25:55 +02:00
rcar_du_group.c drm: rcar-du: crtc: Control CMM operations 2019-12-18 02:40:05 +02:00
rcar_du_group.h drm: rcar-du: kms: Initialize CMM instances 2019-12-18 02:40:04 +02:00
rcar_du_kms.c drm: rcar-du: Fix pitch handling for fully planar YUV formats 2020-09-22 14:10:05 +03:00
rcar_du_kms.h drm: rcar-du: Fix pitch handling for fully planar YUV formats 2020-09-22 14:10:05 +03:00
rcar_du_of.c
rcar_du_of.h drm: rcar-du: Fix rcar_du_of_init() stub 2018-05-17 15:03:32 +10:00
rcar_du_of_lvds_r8a7790.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of_lvds_r8a7791.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of_lvds_r8a7793.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of_lvds_r8a7795.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_of_lvds_r8a7796.dts drm: rcar-du: Convert live DT patches to sugar syntax 2019-01-14 03:51:17 +02:00
rcar_du_plane.c drm: rcar-du: Set primary plane zpos immutably at initializing 2020-05-14 02:10:52 +03:00
rcar_du_plane.h drm: rcar-du: Remove inclusion of drmP.h 2019-01-14 03:51:33 +02:00
rcar_du_regs.h drm: rcar-du: crtc: Control CMM operations 2019-12-18 02:40:05 +02:00
rcar_du_vsp.c Miscellaneous R-Car display driver changes: 2020-09-23 08:19:29 +10:00
rcar_du_vsp.h drm: rcar-du: vsp: Extract framebuffer (un)mapping to separate functions 2019-03-18 17:24:46 +02:00
rcar_du_writeback.c drm: Free the writeback_job when it with an empty fb 2019-09-23 15:31:53 +08:00
rcar_du_writeback.h drm: rcar-du: Add writeback support for R-Car Gen3 2019-03-18 17:24:51 +02:00
rcar_dw_hdmi.c drm: bridge: dw-hdmi: Pass drm_display_info to .mode_valid() 2020-06-23 19:56:02 +02:00
rcar_lvds.c drm: rcar-du: lvds: Add support for R8A774E1 SoC 2020-09-22 14:10:04 +03:00
rcar_lvds.h drm: rcar-du: lvds: Add support for dual-link mode 2019-06-08 02:36:04 +03:00
rcar_lvds_regs.h drm: rcar-du: lvds: D3/E3 support 2018-09-25 00:40:56 +03:00