Skip to content

drm/ast: Use struct ast_device

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/ast: Remove little-endianism from I/O helpersdrivers/gpu/drm/ast/ast_drv.h+3 -11 reply
2/4drm/ast: Rework definition of I/O read and write helpersdrivers/gpu/drm/ast/ast_drv.h+14 -341 reply
3/4drm/ast: Rename struct ast_private to struct ast_devicedrivers/gpu/drm/ast/ast_dp.c drivers/gpu/drm/ast/ast_dp501.c drivers/gpu/drm/ast/ast_drv.c +6 more+150 -1501 reply
4/4drm/ast: Rename to_ast_private() to to_ast_device()drivers/gpu/drm/ast/ast_dp.c drivers/gpu/drm/ast/ast_dp501.c drivers/gpu/drm/ast/ast_drv.h +4 more+46 -461 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJavier Martinez Canillas
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] drm/ast: Use struct ast_device

Rename struct ast_private to struct ast_device. The old name comes from the time when struct drm_device.dev_private was still in use. Also update the upcast helper.

The renaming touches ast's I/O-helper macros, which generate warnings with checkpatch. So fix the I/O helpers in the first two patches of this patchset.

Tested on AST2100 hardware.

Thomas Zimmermann (4):
drm/ast: Remove little-endianism from I/O helpers drm/ast: Rework definition of I/O read and write helpers drm/ast: Rename struct ast_private to struct ast_device drm/ast: Rename to_ast_private() to to_ast_device()

 drivers/gpu/drm/ast/ast_dp.c    | 10 ++--
 drivers/gpu/drm/ast/ast_dp501.c | 40 +++++++-------
 drivers/gpu/drm/ast/ast_drv.c   |  2 +-
 drivers/gpu/drm/ast/ast_drv.h   | 84 ++++++++++++-----------------
 drivers/gpu/drm/ast/ast_i2c.c   |  8 +--
 drivers/gpu/drm/ast/ast_main.c  | 24 ++++-----
 drivers/gpu/drm/ast/ast_mm.c    |  4 +-
 drivers/gpu/drm/ast/ast_mode.c  | 78 +++++++++++++--------------
 drivers/gpu/drm/ast/ast_post.c  | 94 ++++++++++++++++-----------------
 9 files changed, 163 insertions(+), 181 deletions(-)
Signature · 1 line
2.39.2