[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251204103907.52873-1-chuguangqing@inspur.com>
Date: Thu, 4 Dec 2025 18:39:05 +0800
From: Chu Guangqing <chuguangqing@...pur.com>
To: maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
tzimmermann@...e.de,
airlied@...il.com,
simona@...ll.ch
Cc: linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
Chu Guangqing <chuguangqing@...pur.com>
Subject: [PATCH v12 0/1] [DRIVER] gpu: drm: add support for YHGCH ZX1000 soc chipset
v12:
- Add header files to fix compilation errors.
v11:
- For header files: Alphabetical sorting
- remove test for visibility
- add drm_gem_fb_begin_cpu_access to tell device when accessing the
buffer
- remove write to fb->patches
- use drm_format_info_min_pitch instead cpp
- change to One format per line
- remove yhgch_crtc_atomic_begin function
- make yhgch_dumb_create static function
- add drm_mode_size_dumb(dev, args, SZ_16, 0) call
- remove dev->mode_config.prefer_shadow = 1
- make connector polling work
- Modify yhgch_connector_get_modes function for EDID access and prevent double free
(https://lore.kernel.org/all/20251202022452.2636-1-chuguangqing@inspur.com/)
v10:
- add drm_edid_free call
(https://lore.kernel.org/all/20251014072421.4486-1-chuguangqing@inspur.com/)
v9:
- Remove the check that will not occur
- Call drm_edid_connector_update to reset when drm_edid is empty.
v8:
- Use YHGCH uniformly and add the company's official website.
v7:
- Delete the three preceding function definitions
- delete Delete the redundant code and comments
(https://lore.kernel.org/all/20250929063103.7375-1-chuguangqing@inspur.com/)
v6:
- simplify to return drm_atomic_helper_check_plane_state()
- remove empty line
- remove call drm_probe_ddc and smidebug
- replace drm_err with drm_dbg_kms
- add callback .disable
(https://lore.kernel.org/all/20250928054123.32895-1-chuguangqing@inspur.com/)
v5:
- remove extra level of subdiretories, change to driver/gpu/drm/yhgch
- remove else from > + else if (!new_plane_state->visible)
- remove extra check in function yhgch_plane_atomic_check
- remove the extra parentheses
- change the author like other modules
- use drm_edit_read function instead drm_get_edit
- remove debug info drm_warn call
- rename function name smi_connector_helper_detect_from_ddc to
yhgch_connector_helper_detect_from_ddc, remove extra return statement.
(https://lore.kernel.org/all/20250925091715.12739-1-chuguangqing@inspur.com/)
v4:
- remove VRAM helpers from Kconfig
- use the coding style in ast/mgag200 for the DDC
- use plane_state->dst instead of crtc_h/w/x/y.
- delete duplicate framebuffer's atomic_check.
- use FIELD_PREP() directly.
- use dev->mode_config.
- delete unnecessary drm_atomic_helper_shutdown call
- add AUTHOR
- using .enable instead
(https://lore.kernel.org/all/20250924064954.3921-1-chuguangqing@inspur.com/)
v3:
- The order of the code blocks has been adjusted, and the "warn-on" branch
has been removed.
- removed the related formats for the alpha channel.
- removed the atomic_flush function.
- have removed the empty line.
- have removed the error message here.
- replaced it with the drmm_encoder_init function.
(https://lore.kernel.org/all/20250910022311.2655-1-chuguangqing@inspur.com/)
v2:
- Delete unnecessary comments
- Delete unnecessary branch
- Use drm_atomic_helper_check_plane_state
- remove the alpha formats form this list.
- use w,h rather than x, y
- delete type casting
- use a simple call to drm_atomic_helper_shutdown()
- delete yhgch_load function
- delete vblanking code
- delete unneeded i2c type
(https://lore.kernel.org/all/20250903054533.68540-1-chuguangqing@inspur.com/)
v1:
(https://lore.kernel.org/all/20250808053508.52202-1-chuguangqing@inspur.com/)
Chu Guangqing (1):
[DRIVER] gpu: drm: add support for YHGCH ZX1000 soc chipset
MAINTAINERS | 6 +
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/yhgch/Kconfig | 11 +
drivers/gpu/drm/yhgch/Makefile | 4 +
drivers/gpu/drm/yhgch/yhgch_drm_de.c | 372 +++++++++++++++++++++++++
drivers/gpu/drm/yhgch/yhgch_drm_drv.c | 315 +++++++++++++++++++++
drivers/gpu/drm/yhgch/yhgch_drm_drv.h | 48 ++++
drivers/gpu/drm/yhgch/yhgch_drm_i2c.c | 114 ++++++++
drivers/gpu/drm/yhgch/yhgch_drm_regs.h | 208 ++++++++++++++
drivers/gpu/drm/yhgch/yhgch_drm_vdac.c | 132 +++++++++
11 files changed, 1213 insertions(+)
create mode 100644 drivers/gpu/drm/yhgch/Kconfig
create mode 100644 drivers/gpu/drm/yhgch/Makefile
create mode 100644 drivers/gpu/drm/yhgch/yhgch_drm_de.c
create mode 100644 drivers/gpu/drm/yhgch/yhgch_drm_drv.c
create mode 100644 drivers/gpu/drm/yhgch/yhgch_drm_drv.h
create mode 100644 drivers/gpu/drm/yhgch/yhgch_drm_i2c.c
create mode 100644 drivers/gpu/drm/yhgch/yhgch_drm_regs.h
create mode 100644 drivers/gpu/drm/yhgch/yhgch_drm_vdac.c
--
2.43.7
Powered by blists - more mailing lists