mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Abhinav Kumar <quic_abhinavk@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
	Marijn Suijten <marijn.suijten@somainline.org>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>
Cc: <linux-arm-msm@vger.kernel.org>,
	<dri-devel@lists.freedesktop.org>,
	<freedreno@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>,
	kernel test robot <lkp@intel.com>
Subject: Re: [PATCH 1/3] drm/msm/dp: prefix all symbols with msm_dp_
Date: Tue, 29 Oct 2024 11:05:40 -0700	[thread overview]
Message-ID: <584639e8-bad8-4083-8c84-c1edcd8fa14e@quicinc.com> (raw)
In-Reply-To: <20241028-msm-dp-rename-v1-1-a2564e9457b0@linaro.org>



On 10/28/2024 4:49 AM, Dmitry Baryshkov wrote:
> For historical reasons a lot of symbols in the MSM DisplayPort driver
> used the generic dp_ prefix. Perform a mass-rename of those symbols to
> use msm_dp prefix.
> 
> Basically this is a result of the following script:
> 
> sed drivers/gpu/drm/msm/dp/* -i -e 's/\<dp_/msm_dp_/g'
> sed drivers/gpu/drm/msm/dp/* -i -e 's/"msm_dp_/"dp_/g'
> sed drivers/gpu/drm/msm/dp/* -i -e 's/msm_\(dp_sdp_header\|dp_sdp\)\>/\1/g'
> 
> Yes, this also results in renaming of several struct fields in addition
> to renaming the structs and functions, but I think the simple solution
> is better than the more complex one.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202410250305.UHKDhtxy-lkp@intel.com/
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>   drivers/gpu/drm/msm/dp/dp_audio.c   | 294 ++++++------
>   drivers/gpu/drm/msm/dp/dp_audio.h   |  38 +-
>   drivers/gpu/drm/msm/dp/dp_aux.c     | 148 +++---
>   drivers/gpu/drm/msm/dp/dp_aux.h     |  18 +-
>   drivers/gpu/drm/msm/dp/dp_catalog.c | 734 +++++++++++++++---------------
>   drivers/gpu/drm/msm/dp/dp_catalog.h | 118 ++---
>   drivers/gpu/drm/msm/dp/dp_ctrl.c    | 482 ++++++++++----------
>   drivers/gpu/drm/msm/dp/dp_ctrl.h    |  40 +-
>   drivers/gpu/drm/msm/dp/dp_debug.c   |  68 +--
>   drivers/gpu/drm/msm/dp/dp_debug.h   |  10 +-
>   drivers/gpu/drm/msm/dp/dp_display.c | 866 ++++++++++++++++++------------------
>   drivers/gpu/drm/msm/dp/dp_display.h |  18 +-
>   drivers/gpu/drm/msm/dp/dp_drm.c     | 108 ++---
>   drivers/gpu/drm/msm/dp/dp_drm.h     |  22 +-
>   drivers/gpu/drm/msm/dp/dp_link.c    | 432 +++++++++---------
>   drivers/gpu/drm/msm/dp/dp_link.h    |  44 +-
>   drivers/gpu/drm/msm/dp/dp_panel.c   | 254 +++++------
>   drivers/gpu/drm/msm/dp/dp_panel.h   |  42 +-
>   drivers/gpu/drm/msm/dp/dp_utils.c   |  20 +-
>   drivers/gpu/drm/msm/dp/dp_utils.h   |   8 +-
>   20 files changed, 1882 insertions(+), 1882 deletions(-)
> 

There is some WIP going on related to DP features, so we will need to 
rebase all of it but I think its better to get this in now rather than 
later, hence

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>

  reply	other threads:[~2024-10-29 18:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-28 11:49 [PATCH 0/3] drm/msm/dp: mass-rename symbols Dmitry Baryshkov
2024-10-28 11:49 ` [PATCH 1/3] drm/msm/dp: prefix all symbols with msm_dp_ Dmitry Baryshkov
2024-10-29 18:05   ` Abhinav Kumar [this message]
2024-10-28 11:49 ` [PATCH 2/3] drm/msm/dp: rename edp_ bridge functions and struct Dmitry Baryshkov
2024-10-29 18:08   ` Abhinav Kumar
2024-10-29 20:25     ` Dmitry Baryshkov
2024-10-28 11:49 ` [PATCH 3/3] drm/msm/dp: tidy up platform data names Dmitry Baryshkov
2024-10-29 18:14   ` Abhinav Kumar

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=584639e8-bad8-4083-8c84-c1edcd8fa14e@quicinc.com \
    --to=quic_abhinavk@quicinc.com \
    --cc=airlied@gmail.com \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=marijn.suijten@somainline.org \
    --cc=robdclark@gmail.com \
    --cc=sean@poorly.run \
    --cc=simona@ffwll.ch \
    /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®