Re: [PATCH 3/5] drm/amd/display: Avoid operating on copies of backlight caps

2025-02-28 Thread Alex Hung
On 2/21/25 10:10, Mario Limonciello wrote: Making a copy of the backlight caps structure between uses is unnecessary. Refer to pointers to the same structure when using it. Signed-off-by: Mario Limonciello --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 50 --- 1 file

[PATCH 3/5] drm/amd/display: Avoid operating on copies of backlight caps

2025-02-21 Thread Mario Limonciello
Making a copy of the backlight caps structure between uses is unnecessary. Refer to pointers to the same structure when using it. Signed-off-by: Mario Limonciello --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 50 --- 1 file changed, 21 insertions(+), 29 deletions(-) diff -