diff options
author | Lionel Landwerlin <[email protected]> | 2017-08-30 09:24:32 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-08-30 17:59:18 +0100 |
commit | 27e273578f05521baac08d7de915c95312e3a595 (patch) | |
tree | 73d5148c370f57a2373262a4f4772ab19e09cdee /src/mesa/drivers/dri/i965/brw_state_upload.c | |
parent | b6e783300c660fd384a99eed045fad81fc7b6913 (diff) |
i965: drop brw->is_broxton
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 <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_upload.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_upload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c index e14ef4941d7..c69d707c09f 100644 --- a/src/mesa/drivers/dri/i965/brw_state_upload.c +++ b/src/mesa/drivers/dri/i965/brw_state_upload.c @@ -75,7 +75,7 @@ brw_upload_initial_gpu_state(struct brw_context *brw) 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); |