diff options
author | Hamza Mahfooz <hamza.mahfooz@amd.com> | 2024-02-09 14:45:15 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-02-12 16:14:05 -0500 |
commit | 040fdcde288a2830edc31dd507963d6aadf990d2 (patch) | |
tree | 1fb65a30e1f3cd9eba541df371e01db0e4771f27 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 2a3cfb9a24a28da9cc13d2c525a76548865e182c (diff) |
drm/amdgpu: respect the abmlevel module parameter value if it is set
Currently, if the abmlevel module parameter is set, it is possible for
user space to override the ABM level at some point after boot. However,
that is undesirable because it means that we aren't respecting the
user's wishes with regard to the level that they want to use. So,
prevent user space from changing the ABM level if the module parameter
is set to a non-auto value.
Tested-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions