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:
694e409
)
drm/i915: s/__raw_i915_read32/I915_READ_FW/ in the SKL+ scanline read w/a
author
Ville Syrjälä
<
[email protected]
>
Thu, 9 Mar 2017 15:44:31 +0000
(17:44 +0200)
committer
Ville Syrjälä
<
[email protected]
>
Mon, 13 Mar 2017 19:14:53 +0000
(21:14 +0200)
Replace __raw_i915_read32() with I915_READ_FW() in the workaround for
the SKL+ scanline counter hardware fail. The two are the same thing
but everyone else uses I915_READ_FW() so let's follow suit.
Signed-off-by: Ville Syrjälä <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Mika Kahola <
[email protected]
>
Reviewed-by: Maarten Lankhorst <
[email protected]
>
drivers/gpu/drm/i915/i915_irq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_irq.c
b/drivers/gpu/drm/i915/i915_irq.c
index da5137fbf6d501064976d121adcda5e27407a0aa..31f0d7c8992f469815a75c97cdce0ad76b898aba 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_irq.c
+++ b/
drivers/gpu/drm/i915/i915_irq.c
@@
-812,8
+812,7
@@
static int __intel_get_crtc_scanline(struct intel_crtc *crtc)
for (i = 0; i < 100; i++) {
udelay(1);
- temp = __raw_i915_read32(dev_priv, PIPEDSL(pipe)) &
- DSL_LINEMASK_GEN3;
+ temp = I915_READ_FW(PIPEDSL(pipe)) & DSL_LINEMASK_GEN3;
if (temp != position) {
position = temp;
break;