Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/4] drm/i915: Remove get_existing_crtc_state
Date: Mon, 9 Apr 2018 15:57:53 +0300	[thread overview]
Message-ID: <20180409125753.GG17795@intel.com> (raw)
In-Reply-To: <20180409124656.39886-2-maarten.lankhorst@linux.intel.com>

On Mon, Apr 09, 2018 at 02:46:54PM +0200, Maarten Lankhorst wrote:
> get_existing_crtc_state is currently unused, get rid of it.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

> ---
>  drivers/gpu/drm/i915/intel_drv.h | 14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
> index e545aa673bd9..9969309132d0 100644
> --- a/drivers/gpu/drm/i915/intel_drv.h
> +++ b/drivers/gpu/drm/i915/intel_drv.h
> @@ -2095,20 +2095,6 @@ intel_atomic_get_crtc_state(struct drm_atomic_state *state,
>  	return to_intel_crtc_state(crtc_state);
>  }
>  
> -static inline struct intel_crtc_state *
> -intel_atomic_get_existing_crtc_state(struct drm_atomic_state *state,
> -				     struct intel_crtc *crtc)
> -{
> -	struct drm_crtc_state *crtc_state;
> -
> -	crtc_state = drm_atomic_get_existing_crtc_state(state, &crtc->base);
> -
> -	if (crtc_state)
> -		return to_intel_crtc_state(crtc_state);
> -	else
> -		return NULL;
> -}
> -
>  int intel_atomic_setup_scalers(struct drm_i915_private *dev_priv,
>  			       struct intel_crtc *intel_crtc,
>  			       struct intel_crtc_state *crtc_state);
> -- 
> 2.16.3
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-04-09 12:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-09 12:46 [PATCH 1/4] drm/i915: Change use get_new_plane_state instead of existing plane state Maarten Lankhorst
2018-04-09 12:46 ` [PATCH 2/4] drm/i915: Remove get_existing_crtc_state Maarten Lankhorst
2018-04-09 12:57   ` Ville Syrjälä [this message]
2018-04-09 12:46 ` [PATCH 3/4] drm/i915: Remove last references to drm_atomic_get_existing* macros Maarten Lankhorst
2018-04-09 13:04   ` Ville Syrjälä
2018-04-09 14:04     ` Maarten Lankhorst
2018-04-09 12:46 ` [PATCH 4/4] drm/i915: Enable display workaround 827 for all planes Maarten Lankhorst
2018-04-09 13:11   ` Ville Syrjälä
2018-04-09 12:57 ` [PATCH 1/4] drm/i915: Change use get_new_plane_state instead of existing plane state Ville Syrjälä
2018-04-09 14:01 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] " Patchwork
2018-04-09 14:16 ` ✓ Fi.CI.BAT: success " Patchwork
2018-04-09 17:30 ` ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180409125753.GG17795@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=maarten.lankhorst@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox