OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2807cf6
)
drm/i915: Don't try to disable psr harder from the work item
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 11 Jul 2014 17:30:12 +0000
(10:30 -0700)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:16 +0000
(07:05 +0200)
It's disabled already except when we've raced.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dp.c
b/drivers/gpu/drm/i915/intel_dp.c
index
457bd82
..
0184188
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dp.c
+++ b/
drivers/gpu/drm/i915/intel_dp.c
@@
-1896,9
+1896,7
@@
static void intel_edp_psr_work(struct work_struct *work)
if (!intel_dp)
return;
- if (!intel_edp_psr_match_conditions(intel_dp))
- intel_edp_psr_disable(intel_dp);
- else
+ if (intel_edp_psr_match_conditions(intel_dp))
intel_edp_psr_do_enable(intel_dp);
}