Mesa (11.0): nouveau: don't expose HEVC decoding support

Emil Velikov evelikov at kemper.freedesktop.org
Thu Nov 19 12:41:16 UTC 2015


Module: Mesa
Branch: 11.0
Commit: 09a7ee2782205b7b7177c8bc805be3c5929347dd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09a7ee2782205b7b7177c8bc805be3c5929347dd

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat Nov 14 10:28:55 2015 -0500

nouveau: don't expose HEVC decoding support

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit f94e1d97381ec787c2abbbcd5265252596217e33)

---

 src/gallium/drivers/nouveau/nouveau_vp3_video.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/nouveau/nouveau_vp3_video.c b/src/gallium/drivers/nouveau/nouveau_vp3_video.c
index f3a64b2..4652e56 100644
--- a/src/gallium/drivers/nouveau/nouveau_vp3_video.c
+++ b/src/gallium/drivers/nouveau/nouveau_vp3_video.c
@@ -437,6 +437,7 @@ nouveau_vp3_screen_get_video_param(struct pipe_screen *pscreen,
       /* VP3 does not support MPEG4, VP4+ do. */
       return entrypoint == PIPE_VIDEO_ENTRYPOINT_BITSTREAM &&
          profile >= PIPE_VIDEO_PROFILE_MPEG1 &&
+         profile < PIPE_VIDEO_PROFILE_HEVC_MAIN &&
          (!vp3 || codec != PIPE_VIDEO_FORMAT_MPEG4) &&
          firmware_present(pscreen, profile);
    case PIPE_VIDEO_CAP_NPOT_TEXTURES:




More information about the mesa-commit mailing list