vrend: Increase VREND_MAX_CTX to 64.

The current default value is not big enough for running android app
inside Chrome OS under qemu+virgl. Increase it to 64 so we can run
several android apps inside ARC++ under Chrome OS in qemu+virgl at
same time.

Signed-off-by: Lepton Wu <lepton@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Lepton Wu 7 years ago committed by Dave Airlie
parent a6a51a2e53
commit f9e5aa0658
  1. 2
      src/vrend_decode.c

@ -47,7 +47,7 @@ struct vrend_decode_ctx {
struct vrend_decoder_state ids, *ds; struct vrend_decoder_state ids, *ds;
struct vrend_context *grctx; struct vrend_context *grctx;
}; };
#define VREND_MAX_CTX 16 #define VREND_MAX_CTX 64
static struct vrend_decode_ctx *dec_ctx[VREND_MAX_CTX]; static struct vrend_decode_ctx *dec_ctx[VREND_MAX_CTX];
static inline uint32_t get_buf_entry(struct vrend_decode_ctx *ctx, uint32_t offset) static inline uint32_t get_buf_entry(struct vrend_decode_ctx *ctx, uint32_t offset)

Loading…
Cancel
Save