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:
2f5945b
)
drm/i915/bxt: Set time interval unit to 0.833us
author
Akash Goel
<
[email protected]
>
Fri, 18 Sep 2015 18:09:51 +0000
(23:39 +0530)
committer
Daniel Vetter
<
[email protected]
>
Wed, 7 Oct 2015 14:06:24 +0000
(16:06 +0200)
Note that in Bspec you have to dig around in a section called
"Timestamp bases" and Bspec update request is filed.
Signed-off-by: Ankitprasad Sharma <
[email protected]
>
Signed-off-by: Akash Goel <
[email protected]
>
Signed-off-by: Sagar Arun Kamble <
[email protected]
>
Reviewed-by: Imre Deak <
[email protected]
>
[danvet: Add note about state of Bspec.]
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/i915_reg.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_reg.h
b/drivers/gpu/drm/i915/i915_reg.h
index 07588b63d434cb727868fe5ebc67c3ecd1ba1ae5..6be853d2233c43b439ccee4e3d2906ab89cf4ddf 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_reg.h
+++ b/
drivers/gpu/drm/i915/i915_reg.h
@@
-2840,8
+2840,11
@@
enum skl_disp_power_wells {
#define INTERVAL_1_28_US(us) (((us) * 100) >> 7)
#define INTERVAL_1_33_US(us) (((us) * 3) >> 2)
+#define INTERVAL_0_833_US(us) (((us) * 6) / 5)
#define GT_INTERVAL_FROM_US(dev_priv, us) (IS_GEN9(dev_priv) ? \
- INTERVAL_1_33_US(us) : \
+ (IS_BROXTON(dev_priv) ? \
+ INTERVAL_0_833_US(us) : \
+ INTERVAL_1_33_US(us)) : \
INTERVAL_1_28_US(us))
/*