We need to take some take here as brw->is_broxton has been used to
check whether the device is a low power gen9 (aka Atom gen9 platform).
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
brw->screen = screen;
brw->bufmgr = screen->bufmgr;
- brw->is_broxton = devinfo->is_broxton || devinfo->is_geminilake;
brw->has_llc = devinfo->has_llc;
brw->has_hiz = devinfo->has_hiz_and_separate_stencil;
brw->has_separate_stencil = devinfo->has_hiz_and_separate_stencil;
uint64_t max_gtt_map_object_size;
- bool is_broxton;
-
bool has_hiz;
bool has_separate_stencil;
bool must_use_separate_stencil;
GEN9_PARTIAL_RESOLVE_DISABLE_IN_VC);
ADVANCE_BATCH();
- if (brw->is_broxton) {
+ if (gen_device_info_is_9lp(devinfo)) {
BEGIN_BATCH(3);
OUT_BATCH(MI_LOAD_REGISTER_IMM | (3 - 2));
OUT_BATCH(GEN7_GT_MODE);
ctx->Extensions.ARB_post_depth_coverage = true;
}
- if (brw->is_broxton)
+ if (gen_device_info_is_9lp(devinfo))
ctx->Extensions.KHR_texture_compression_astc_hdr = true;
if (devinfo->gen >= 6)