Re: [PATCH] drm: move read_domains and write_domain into i915 v2

2018-02-16 Thread Chris Wilson
Quoting Christian König (2018-02-16 12:43:38) > i915 is the only driver using those fields in the drm_gem_object > structure, so they only waste memory for all other drivers. > > Move the fields into drm_i915_gem_object instead and patch the i915 code > with the following sed commands: > > sed -i

[PATCH] drm: move read_domains and write_domain into i915 v2

2018-02-16 Thread Christian König
i915 is the only driver using those fields in the drm_gem_object structure, so they only waste memory for all other drivers. Move the fields into drm_i915_gem_object instead and patch the i915 code with the following sed commands: sed -i "s/obj->base.read_domains/obj->read_domains/g" drivers/gpu/

Re: [PATCH] drm: move read_domains and write_domain into i915

2018-02-16 Thread Christian König
Am 16.02.2018 um 13:30 schrieb Chris Wilson: Quoting Christian König (2018-02-16 12:27:28) Am 16.02.2018 um 11:18 schrieb Chris Wilson: Quoting Christian König (2018-02-16 09:31:23) i915 is the only driver using those fields in the drm_gem_object structure, so they only waste memory for all ot

Re: [PATCH] drm: move read_domains and write_domain into i915

2018-02-16 Thread Chris Wilson
Quoting Christian König (2018-02-16 12:27:28) > Am 16.02.2018 um 11:18 schrieb Chris Wilson: > > Quoting Christian König (2018-02-16 09:31:23) > >> i915 is the only driver using those fields in the drm_gem_object > >> structure, so they only waste memory for all other drivers. > >> > >> Move the fi

Re: [PATCH] drm: move read_domains and write_domain into i915

2018-02-16 Thread Christian König
Am 16.02.2018 um 11:18 schrieb Chris Wilson: Quoting Christian König (2018-02-16 09:31:23) i915 is the only driver using those fields in the drm_gem_object structure, so they only waste memory for all other drivers. Move the fields into drm_i915_gem_object instead and patch the i915 code with t

Re: [PATCH] drm: move read_domains and write_domain into i915

2018-02-16 Thread Chris Wilson
Quoting Christian König (2018-02-16 09:31:23) > i915 is the only driver using those fields in the drm_gem_object > structure, so they only waste memory for all other drivers. > > Move the fields into drm_i915_gem_object instead and patch the i915 code > with the following sed commands: > > sed -i

[PATCH] drm: move read_domains and write_domain into i915

2018-02-16 Thread Christian König
i915 is the only driver using those fields in the drm_gem_object structure, so they only waste memory for all other drivers. Move the fields into drm_i915_gem_object instead and patch the i915 code with the following sed commands: sed -i "s/obj->base.read_domains/obj->read_domains/g" drivers/gpu/