Re: [PATCH] drm/amd/display: remove unneeded semicolon

2024-08-05 Thread David Tadokoro
erPixY[k] == > 2) == > dml_is_vertical_rotation(p->display_cfg->plane_descriptors[k].composition.rotation_angle)) > ? 128 : 64; > + p->request_size_bytes_chroma[k] = ((p->BytePerPixC[k] > == 2) == > dml_is_vertical_rotation(p->display_cfg->plane_descriptors[k].composition.rotation_angle)) > ? 128 : 64; > } > > if (p->SwathHeightC[k] == 0) > -- > 2.32.0.3.g01195cf9f Reviewed-by: David Tadokoro

[PATCH] drm/amd/display: Remove duplicated function signature from dcn3.01 DCCG

2024-02-23 Thread David Tadokoro
In the header file dc/dcn301/dcn301_dccg.h, the function dccg301_create is declared twice, so remove duplication. Signed-off-by: David Tadokoro --- drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn301

[PATCH 3/3] drm/amd/display: add prefix to rv1_clk_mgr_vbios_smu.c functions

2024-02-21 Thread David Tadokoro
The functions defined in dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c don't have names that indicate where they were declared. To better filter results in debug tools like ftrace, prefix these functions with 'rv1_clk_mgr_vbios_smu_'. Signed-off-by: David Tadokoro --- .../drm/amd/dis

[PATCH 1/3] drm/amd/display: add prefix to rv1_clk_mgr_clk.c function

2024-02-21 Thread David Tadokoro
The function defined in dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c doesn't have a name that indicates where it was declared. To better filter results in debug tools like ftrace, prefix this function with 'rv1_clk_mgr_clk_'. Signed-off-by: David Tadokoro --- drivers/gpu/drm/amd/display/d

[PATCH 0/3] drm/amd/display: add prefix to dc/clk_mgr/dcn10 functions

2024-02-21 Thread David Tadokoro
This patchset has three commits that add prefix to all the functions defined in dc/clk_mgr/dcn10 that indicate the file that they were defined. Enforcing this pattern makes filtering results in debug tools like ftrace better. David Tadokoro (3): drm/amd/display: add prefix to rv1_clk_mgr_clk.c

[PATCH 2/3] drm/amd/display: add prefix to rv1_clk_mgr.c functions

2024-02-21 Thread David Tadokoro
The functions defined in dc/clk_mgr/dcn10/rv1_clk_mgr.c don't have names that indicates where they were declared. To better filter results in debug tools like ftrace, prefix these functions with 'rv1_clk_mgr_'. Signed-off-by: David Tadokoro --- .../display/dc/clk_mgr/dcn1

[PATCH] drm/amd/display: remove legacy fields of dc_plane_cap struct

2023-03-08 Thread David Tadokoro
effect if it was deleted (assuming that those fields are always going to be true). For this reason, considering both fields as legacy ones, this commit removes them and the aforementioned if statement. Signed-off-by: David Tadokoro --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3

[PATCH] drm/amd/display: add prefix to amdgpu_dm_crtc.h functions

2023-03-07 Thread David Tadokoro
Some amdgpu_dm_crtc.h functions didn't have names that indicated where they were declared. To better filter results in debug tools like ftrace, prefix these functions with 'amdgpu_dm_crtc_'. Signed-off-by: David Tadokoro --- .../gpu/drm/amd/display/amdgpu_dm/a

[PATCH] drm/amd/display: add prefix to amdgpu_dm_plane.h functions

2023-03-06 Thread David Tadokoro
From: David Tadokoro The amdgpu_dm_plane.h functions didn't have names that indicated where they were declared. To better filter results in debug tools like ftrace, prefix these functions with 'amdgpu_dm_plane_'. Note that we may want to make this same change in o