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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 17 02:24:57 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110140

--- Comment #5 from leoxsliu at gmail.com ---
This is about what the patch does:
--- 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. 

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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190317/86cf2c09/attachment.html>


More information about the dri-devel mailing list