[Mesa-dev] [PATCH] i965: remove second prototype of brw_batch_reloc

Ilia Mirkin imirkin at alum.mit.edu
Thu Dec 5 13:07:50 UTC 2019


I am. Reading code too late at night, apparently. Sorry!

On Thu, Dec 5, 2019 at 4:15 AM Lionel Landwerlin
<lionel.g.landwerlin at intel.com> wrote:
>
> Hmm... I don't see it.
>
> Are you not confused by brw_batch_reloc/brw_state_reloc?
>
> -Lionel
>
> On 05/12/2019 06:56, Ilia Mirkin wrote:
> > Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> > ---
> >   src/mesa/drivers/dri/i965/intel_batchbuffer.h | 5 -----
> >   1 file changed, 5 deletions(-)
> >
> > diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.h b/src/mesa/drivers/dri/i965/intel_batchbuffer.h
> > index 91720dad5b4..137158f168a 100644
> > --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.h
> > +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.h
> > @@ -67,11 +67,6 @@ uint64_t brw_batch_reloc(struct intel_batchbuffer *batch,
> >                            struct brw_bo *target,
> >                            uint32_t target_offset,
> >                            unsigned flags);
> > -uint64_t brw_state_reloc(struct intel_batchbuffer *batch,
> > -                         uint32_t batch_offset,
> > -                         struct brw_bo *target,
> > -                         uint32_t target_offset,
> > -                         unsigned flags);
> >
> >   #define USED_BATCH(_batch) \
> >      ((uintptr_t)((_batch).map_next - (_batch).batch.map))
>
>


More information about the mesa-dev mailing list