[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADnq5_MjP1_YPFYYuaO+z9KTpMd+Gk6mtB74P1LjbFrOUt70pg@mail.gmail.com>
Date: Fri, 23 Oct 2020 15:02:47 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Stylon Wang <stylon.wang@....com>,
Eryk Brol <eryk.brol@....com>,
Jonathan Corbet <corbet@....net>,
Harry Wentland <harry.wentland@....com>,
Alexander Monakov <amonakov@...ras.ru>,
Rodrigo Siqueira <Rodrigo.Siqueira@....com>,
Roman Li <roman.li@....com>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
Nicholas Kazlauskas <nicholas.kazlauskas@....com>,
Leo Li <sunpeng.li@....com>, David Airlie <airlied@...ux.ie>,
Aurabindo Pillai <aurabindo.pillai@....com>,
hersen wu <hersenxs.wu@....com>,
Maling list - DRI developers
<dri-devel@...ts.freedesktop.org>, Daniel Vetter <daniel@...ll.ch>,
Alex Deucher <alexander.deucher@....com>,
Mikita Lipski <mikita.lipski@....com>,
Bhawanpreet Lakha <Bhawanpreet.Lakha@....com>,
Christian König <christian.koenig@....com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 02/56] drm: amdgpu_dm: fix a typo
Applied. Thanks!
Alex
On Fri, Oct 23, 2020 at 12:33 PM Mauro Carvalho Chehab
<mchehab+huawei@...nel.org> wrote:
>
> dm_comressor_info -> dm_compressor_info
>
> The kernel-doc markup is right, but the struct itself
> and their references contain a typo.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index bb1bc7f5d149..48ec0535d92f 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -583,7 +583,7 @@ static void amdgpu_dm_fbc_init(struct drm_connector *connector)
> {
> struct drm_device *dev = connector->dev;
> struct amdgpu_device *adev = drm_to_adev(dev);
> - struct dm_comressor_info *compressor = &adev->dm.compressor;
> + struct dm_compressor_info *compressor = &adev->dm.compressor;
> struct amdgpu_dm_connector *aconn = to_amdgpu_dm_connector(connector);
> struct drm_display_mode *mode;
> unsigned long max_size = 0;
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> index 34f6369bf51f..a8a0e8cb1a11 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
> @@ -86,7 +86,7 @@ struct irq_list_head {
> * @bo_ptr: Pointer to the buffer object
> * @gpu_addr: MMIO gpu addr
> */
> -struct dm_comressor_info {
> +struct dm_compressor_info {
> void *cpu_addr;
> struct amdgpu_bo *bo_ptr;
> uint64_t gpu_addr;
> @@ -148,7 +148,7 @@ struct amdgpu_dm_backlight_caps {
> * @soc_bounding_box: SOC bounding box values provided by gpu_info FW
> * @cached_state: Caches device atomic state for suspend/resume
> * @cached_dc_state: Cached state of content streams
> - * @compressor: Frame buffer compression buffer. See &struct dm_comressor_info
> + * @compressor: Frame buffer compression buffer. See &struct dm_compressor_info
> * @force_timing_sync: set via debugfs. When set, indicates that all connected
> * displays will be forced to synchronize.
> */
> @@ -324,7 +324,7 @@ struct amdgpu_display_manager {
> struct drm_atomic_state *cached_state;
> struct dc_state *cached_dc_state;
>
> - struct dm_comressor_info compressor;
> + struct dm_compressor_info compressor;
>
> const struct firmware *fw_dmcu;
> uint32_t dmcu_fw_version;
> --
> 2.26.2
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Powered by blists - more mailing lists