mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/amd/display: Constify static resource_funcs
@ 2020-08-04 20:06 Rikard Falkeborn
  2020-08-04 20:06 ` [PATCH 1/3] drm/amd/display: Constify dcn20_res_pool_funcs Rikard Falkeborn
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Rikard Falkeborn @ 2020-08-04 20:06 UTC (permalink / raw)
  To: harry.wentland, sunpeng.li, alexander.deucher, christian.koenig
  Cc: airlied, daniel, amd-gfx, dri-devel, linux-kernel, Rikard Falkeborn

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(-)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-04 20:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 20:06 [PATCH 0/3] drm/amd/display: Constify static resource_funcs Rikard Falkeborn
2020-08-04 20:06 ` [PATCH 1/3] drm/amd/display: Constify dcn20_res_pool_funcs Rikard Falkeborn
2020-08-04 20:06 ` [PATCH 2/3] drm/amd/display: Constify dcn21_res_pool_funcs Rikard Falkeborn
2020-08-04 20:06 ` [PATCH 3/3] drm/amd/display: Constify dcn30_res_pool_funcs Rikard Falkeborn
2020-08-04 20:46 ` [PATCH 0/3] drm/amd/display: Constify static resource_funcs Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®