[Intel-gfx] [PATCH 02/10] drm/i915: Make intel_ring_setup_status_page() static
Damien Lespiau
damien.lespiau at intel.com
Wed Feb 11 05:46:19 PST 2015
On Tue, Feb 10, 2015 at 07:32:17PM +0000, Damien Lespiau wrote:
> This function is only used in intel_ringbuffer.c, so restrict it to that
> file. The function was moved around to avoid a forward declaration and
> group it with its user.
>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
> drivers/gpu/drm/i915/intel_ringbuffer.c | 124 ++++++++++++++++----------------
> drivers/gpu/drm/i915/intel_ringbuffer.h | 1 -
> 2 files changed, 62 insertions(+), 63 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
> index 0631780..0a7b1af 100644
> --- a/drivers/gpu/drm/i915/intel_ringbuffer.c
> +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
> @@ -502,6 +502,68 @@ static void ring_setup_phys_status_page(struct intel_engine_cs *ring)
> I915_WRITE(HWS_PGA, addr);
> }
>
> +void intel_ring_setup_status_page(struct intel_engine_cs *ring)
> +{
I've actually manged to screw this one up. Daniel could you ammend this?
or do you want a new patch? (fengguang's 0day bot even generated a patch
for us).
--
Damien
More information about the Intel-gfx
mailing list