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:
cff765f
)
drm/i915/bxt: Modified HAS_CSR, added support for BXT
author
Animesh Manna
<
[email protected]
>
Tue, 4 Aug 2015 16:32:42 +0000
(22:02 +0530)
committer
Daniel Vetter
<
[email protected]
>
Wed, 23 Sep 2015 07:42:10 +0000
(09:42 +0200)
Modified HAS_CSR macro defination which earlier only supported
for skl, now added support for BXT.
v1: Initial version.
v2: Instaed of skylake/broxton check added gen9 check alone based
on review comment from Sunil.
Cc: Vetter, Daniel <
[email protected]
>
Cc: Damien Lespiau <
[email protected]
>
Cc: Imre Deak <
[email protected]
>
Cc: Sunil Kamath <
[email protected]
>
Signed-off-by: Animesh Manna <
[email protected]
>
Reviewed-by: Imre Deak <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/i915_drv.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_drv.h
b/drivers/gpu/drm/i915/i915_drv.h
index 677faa8be2282173b2678b060b1542d37cff3013..3795fdfcd1c3a8950872571c84b3b53da6860ab2 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_drv.h
+++ b/
drivers/gpu/drm/i915/i915_drv.h
@@
-2578,7
+2578,7
@@
struct drm_i915_cmd_table {
#define HAS_RC6(dev) (INTEL_INFO(dev)->gen >= 6)
#define HAS_RC6p(dev) (INTEL_INFO(dev)->gen == 6 || IS_IVYBRIDGE(dev))
-#define HAS_CSR(dev) (IS_
SKYLAKE
(dev))
+#define HAS_CSR(dev) (IS_
GEN9
(dev))
#define HAS_GUC_UCODE(dev) (IS_GEN9(dev))
#define HAS_GUC_SCHED(dev) (IS_GEN9(dev))