Skip to content

drm/amd/display: Constify static resource_funcs

Rikard Falkeborn amd-gfx dri-devel lkml 1 version Applied

Status from this message: Applied the series. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3drm/amd/display: Constify dcn20_res_pool_funcsdrivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c+1 -10 replies
2/3drm/amd/display: Constify dcn21_res_pool_funcsdrivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c+1 -10 replies
3/3drm/amd/display: Constify dcn30_res_pool_funcsdrivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c+1 -10 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/3] drm/amd/display: Constify static resource_funcs

Constify a couple of instances of resource_funcs that are never modified to allow the compiler to put it in read-only memory.

The other drivers in drivers/gpu/drm/amd/display/dc already have these as const.

Rikard Falkeborn (3):
drm/amd/display: Constify dcn20_res_pool_funcs
drm/amd/display: Constify dcn21_res_pool_funcs
drm/amd/display: Constify dcn30_res_pool_funcs

 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 2 +-
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.28.0