[Bug,110140] Green bottom half of video frame when using JPEG acceleration (vcn_v1_0_jpeg_ring_emit_fence() WARNING)
diff mbox series

Message ID bug-110140-502-UM9hRrSbBR@http.bugs.freedesktop.org/
State New
Headers show
Series
  • [Bug,110140] Green bottom half of video frame when using JPEG acceleration (vcn_v1_0_jpeg_ring_emit_fence() WARNING)
Related show

Commit Message

bugzilla-daemon@freedesktop.org March 17, 2019, 2:24 a.m. UTC
https://bugs.freedesktop.org/show_bug.cgi?id=110140

--- Comment #5 from leoxsliu@gmail.com ---
This is about what the patch does:

It's not make sense to me this would cause such issue based on the ticket,
unless player wrongly use the this after querying this.

Can this be reproduced with Mesa master branch? or Can this be reproduced with
any other players?

Patch
diff mbox series

--- a/src/gallium/state_trackers/va/context.c
+++ b/src/gallium/state_trackers/va/context.c
@@ -175,7 +175,7 @@  VA_DRIVER_INIT_FUNC(VADriverContextP ctx)
ctx->version_minor = 1;
*ctx->vtable = vtable;
*ctx->vtable_vpp = vtable_vpp;
- ctx->max_profiles = PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH -
PIPE_VIDEO_PROFILE_UNKNOWN;
+ ctx->max_profiles = PIPE_VIDEO_PROFILE_MAX - PIPE_VIDEO_PROFILE_UNKNOWN - 1;

It just correct the number of max_profile, that HW can support.