ilo: replace bo alloc flags by initial domains
authorChia-I Wu <olvaffe@gmail.com>
Sat, 8 Mar 2014 15:55:15 +0000 (23:55 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 10 Mar 2014 08:42:42 +0000 (16:42 +0800)
commit3e324f99d3b8f6b9da00c3f90719fba19e77ae7d
treea7070c24cf44c89a2aacef9353da430436d596b4
parent76713ed5d64028a434c15f4eb6572b01e5acacca
ilo: replace bo alloc flags by initial domains

The only alloc flag is INTEL_ALLOC_FOR_RENDER, which can as well be expressed
by specifying the initial write domain.  The change makes it obvious that we
failed to set INTEL_ALLOC_FOR_RENDER in several places.
src/gallium/drivers/ilo/ilo_3d.c
src/gallium/drivers/ilo/ilo_3d_pipeline.c
src/gallium/drivers/ilo/ilo_cp.c
src/gallium/drivers/ilo/ilo_query.c
src/gallium/drivers/ilo/ilo_resource.c
src/gallium/drivers/ilo/ilo_resource.h
src/gallium/winsys/intel/drm/intel_drm_winsys.c
src/gallium/winsys/intel/intel_winsys.h