Skip to content

Trivial code cleanup around color resources

Melissa Wen amd-gfx 1 version Applied

Status from this message: Applied. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6drm/amd/display: ident braces in dcn30_acquire_post_bldn_3dlut correctlydrivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c+1 -10 replies
2/6drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlutdrivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c+19 -180 replies
3/6drm/amd/display: camel case cleanup in color_gamma filedrivers/gpu/drm/amd/display/modules/color/color_gamma.c+26 -240 replies
4/6drm/amd/display: unset initial value for tf since it's never useddrivers/gpu/drm/amd/display/modules/color/color_gamma.c+2 -20 replies
5/6drm/amd/display: remove unused func declaration from resource headersdrivers/gpu/drm/amd/display/dc/inc/resource.h+0 -40 replies
6/6drm/amd/display: remove unused _calculate_degamma_curve functiondrivers/gpu/drm/amd/display/modules/color/color_gamma.c drivers/gpu/drm/amd/display/modules/color/color_gamma.h+0 -890 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Trivial code cleanup around color resources

Hi,

Sorry for the noise, but while I've been working on wiring 3D LUT support to AMD display driver [1] I found some annoying code style issues in the shared-code part. So I'm just sending what I've been cleaning to better examine the code.

Most seem trivial, except the last one "remove unused _calculate_degamma_curve" since this could just be a matter of missing parts. If so, happy to remove the patch and include a comment describing the situation (or the potential usage of it).

Thanks,

Melissa

[1] https://lore.kernel.org/dri-devel/[email protected]/

Melissa Wen (6):
drm/amd/display: ident braces in dcn30_acquire_post_bldn_3dlut
correctly
drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut drm/amd/display: camel case cleanup in color_gamma file drm/amd/display: unset initial value for tf since it's never used drm/amd/display: remove unused func declaration from resource headers drm/amd/display: remove unused _calculate_degamma_curve function

 .../drm/amd/display/dc/dcn30/dcn30_hwseq.c    |  37 ++---
 .../drm/amd/display/dc/dcn30/dcn30_resource.c |   2 +-
 drivers/gpu/drm/amd/display/dc/inc/resource.h |   4 -
 .../amd/display/modules/color/color_gamma.c   | 140 ++++--------------
 .../amd/display/modules/color/color_gamma.h   |   3 -
 5 files changed, 48 insertions(+), 138 deletions(-)
Signature · 1 line
2.39.0