From: Rikard Falkeborn <rikard.falkeborn@gmail.com>
To: harry.wentland@amd.com, sunpeng.li@amd.com,
alexander.deucher@amd.com, christian.koenig@amd.com
Cc: airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Rikard Falkeborn <rikard.falkeborn@gmail.com>
Subject: [PATCH 0/3] drm/amd/display: Constify static resource_funcs
Date: Tue, 4 Aug 2020 22:06:52 +0200 [thread overview]
Message-ID: <20200804200655.30495-1-rikard.falkeborn@gmail.com> (raw)
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
next reply other threads:[~2020-08-04 20:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-04 20:06 Rikard Falkeborn [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200804200655.30495-1-rikard.falkeborn@gmail.com \
--to=rikard.falkeborn@gmail.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sunpeng.li@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®