The last user of these (i915.ko) no longer does. We can slim down the core GEM object by removing the unused 8 bytes.
Signed-off-by: Chris Wilson chris@chris-wilson.co.uk --- include/drm/drm_gem.h | 15 --------------- 1 file changed, 15 deletions(-)
diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h index 663d80358057..4a9d231b4294 100644 --- a/include/drm/drm_gem.h +++ b/include/drm/drm_gem.h @@ -131,21 +131,6 @@ struct drm_gem_object { uint32_t write_domain;
/** - * @pending_read_domains: - * - * While validating an exec operation, the - * new read/write domain values are computed here. - * They will be transferred to the above values - * at the point that any cache flushing occurs - */ - uint32_t pending_read_domains; - - /** - * @pending_write_domain: Write domain similar to @pending_read_domains. - */ - uint32_t pending_write_domain; - - /** * @dma_buf: * * dma-buf associated with this GEM object.
On Wed, Jul 05, 2017 at 04:49:00PM +0100, Chris Wilson wrote:
The last user of these (i915.ko) no longer does. We can slim down the core GEM object by removing the unused 8 bytes.
Signed-off-by: Chris Wilson chris@chris-wilson.co.uk
Time to celebrate!
Applied, thanks. -Daniel
include/drm/drm_gem.h | 15 --------------- 1 file changed, 15 deletions(-)
diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h index 663d80358057..4a9d231b4294 100644 --- a/include/drm/drm_gem.h +++ b/include/drm/drm_gem.h @@ -131,21 +131,6 @@ struct drm_gem_object { uint32_t write_domain;
/**
* @pending_read_domains:
*
* While validating an exec operation, the
* new read/write domain values are computed here.
* They will be transferred to the above values
* at the point that any cache flushing occurs
*/
- uint32_t pending_read_domains;
- /**
* @pending_write_domain: Write domain similar to @pending_read_domains.
*/
- uint32_t pending_write_domain;
- /**
- @dma_buf:
- dma-buf associated with this GEM object.
-- 2.13.2
dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
dri-devel@lists.freedesktop.org