projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7204b
)
drm/amdgpu/acpi: skip backlight events for DC
author
Alex Deucher
<
[email protected]
>
Thu, 19 Jul 2018 14:28:23 +0000
(09:28 -0500)
committer
Alex Deucher
<
[email protected]
>
Fri, 20 Jul 2018 19:24:41 +0000
(14:24 -0500)
No change in behavior, just bail sooner.
Reviewed-by: Jim Qu <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
index 455617813ec4d5a0326052f1267ff6214387af8c..353993218f213ff6e3686edfc9444b3296ba31f9 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
@@
-389,7
+389,9
@@
static int amdgpu_atif_handler(struct amdgpu_device *adev,
DRM_DEBUG_DRIVER("ATIF: %d pending SBIOS requests\n", count);
- if (req.pending & ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST) {
+ /* todo: add DC handling */
+ if ((req.pending & ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST) &&
+ !amdgpu_device_has_dc_support(adev)) {
struct amdgpu_encoder *enc = atif->encoder_for_bl;
if (enc) {