diff mbox

drm: Remove pending_read_domains and pending_write_domain

Message ID 20170705154900.28697-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Chris Wilson July 5, 2017, 3:49 p.m. UTC
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(-)

Comments

Daniel Vetter July 5, 2017, 8:18 p.m. UTC | #1
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
diff mbox

Patch

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.