drm/amd/display: Remove double checks for `debug.enable_mem_low_power.bits.cm`
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 4 Dec 2024 20:27:42 +0000 (14:27 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 22:01:07 +0000 (18:01 -0400)
commit33056a97ae5e1ff37535d70cbe5dcf1bbc70f20d
tree638ca0c4c2dc96c67b5e713836b9a20258a8d867
parent4321742c394ec369c93dd8860eb420165027d8f5
drm/amd/display: Remove double checks for `debug.enable_mem_low_power.bits.cm`

[Why]
A variety of the 3DLUT handling functions check
`debug.enable_mem_low_power.bits.cm` both in the caller and function.
This is unnecessary overhead.

[How]
For each of them reduce to just checking just in caller or function.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dpp/dcn30/dcn30_dpp.c