Commit ff7a60f2 authored by Armin Reese's avatar Armin Reese Committed by Daniel Vetter

drm/i915 Add golden context support for Gen9

This patch includes the Gen9 batch buffer to generate
a 'golden context' for that product family.
Signed-off-by: default avatarArmin Reese <armin.c.reese@intel.com>
Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 655b5391
...@@ -40,7 +40,8 @@ i915-y += i915_cmd_parser.o \ ...@@ -40,7 +40,8 @@ i915-y += i915_cmd_parser.o \
# autogenerated null render state # autogenerated null render state
i915-y += intel_renderstate_gen6.o \ i915-y += intel_renderstate_gen6.o \
intel_renderstate_gen7.o \ intel_renderstate_gen7.o \
intel_renderstate_gen8.o intel_renderstate_gen8.o \
intel_renderstate_gen9.o
# modesetting core code # modesetting core code
i915-y += intel_bios.o \ i915-y += intel_bios.o \
......
...@@ -38,6 +38,8 @@ render_state_get_rodata(struct drm_device *dev, const int gen) ...@@ -38,6 +38,8 @@ render_state_get_rodata(struct drm_device *dev, const int gen)
return &gen7_null_state; return &gen7_null_state;
case 8: case 8:
return &gen8_null_state; return &gen8_null_state;
case 9:
return &gen9_null_state;
} }
return NULL; return NULL;
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
extern const struct intel_renderstate_rodata gen6_null_state; extern const struct intel_renderstate_rodata gen6_null_state;
extern const struct intel_renderstate_rodata gen7_null_state; extern const struct intel_renderstate_rodata gen7_null_state;
extern const struct intel_renderstate_rodata gen8_null_state; extern const struct intel_renderstate_rodata gen8_null_state;
extern const struct intel_renderstate_rodata gen9_null_state;
#define RO_RENDERSTATE(_g) \ #define RO_RENDERSTATE(_g) \
const struct intel_renderstate_rodata gen ## _g ## _null_state = { \ const struct intel_renderstate_rodata gen ## _g ## _null_state = { \
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment