HomePhabricator
Diffusion Mesa bb18af82c30f

i965/miptree: Unify aux buffer allocation

Authored by Nanley Chery <nanley.g.chery@intel.com> on May 1 2018, 2:00 AM.

Description

i965/miptree: Unify aux buffer allocation

There isn't much that changes between the aux allocation functions.
Remove the duplicated code.

v2: Inline the switch statement (Jason).

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>

Details

Committed
Nanley Chery <nanley.g.chery@intel.com>May 17 2018, 4:06 PM
Pushed
pmoreauMay 22 2018, 7:03 PM
Parents
rMESA6c41a2ef3b72: i965: Prepare to delete intel_miptree_alloc_ccs()
Branches
Unknown
Tags
Unknown

Event Timeline

Nanley Chery <nanley.g.chery@intel.com> committed rMESAbb18af82c30f: i965/miptree: Unify aux buffer allocation (authored by Nanley Chery <nanley.g.chery@intel.com>).May 17 2018, 4:06 PM