Disable ABM feature when the system is running on AC mode to get
the more perfect contrast of the display.
Signed-off-by: Ryan Lin
---
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 4 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 1 +
drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c | 58
Disable ABM feature when the system is running on AC mode to get
the more perfect contrast of the display.
Signed-off-by: Ryan Lin
---
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 4 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 1 +
drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c | 58
Disable ABM feature when the system is running on AC mode to get
the more perfect contrast of the display.
v2: remove "UPSTREAM" from the subject.
Signed-off-by: Ryan Lin
---
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 4 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 1
number of the crtc has been fixed at 4.
Needs to set the num_crtc to 3 for 3250c platform.
v2:
- remove unnecessary comments and Id
Signed-off-by: Ryan Lin
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a
Disable ABM feature when the system is running on AC mode to get the more
perfect contrast of the display.
v2: remove "UPSTREAM" from the subject.
v3: adv->pm.ac_power updating by amd gpu_acpi_event_handler.
Signed-off-by: Ryan Lin
---
drivers/gpu/drm/amd/amdgpu/amdgpu_acp
Disable ABM feature when the system is running on AC mode to get the more
perfect contrast of the display.
v2: remove "UPSTREAM" from the subject.
v3: adv->pm.ac_power updating by amd gpu_acpi_event_handler.
V4: Add the file I lost to fix the build error.
Signed-off-by: Ryan Lin
f the setting abm disabled from DC to amdgpu_dm.
Signed-off-by: Ryan Lin
---
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c| 3 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 17 +
drivers/gpu/drm/amd/display/dc/c
m/amd/display/amdgpu_dm/amdgpu_dm.c
[Ryan Lin: Fixed the conflict, remove the non-main changed part
of this patch]
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_d