From owner-svn-ports-all@freebsd.org Tue Nov 6 00:24:47 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BBD011210E2; Tue, 6 Nov 2018 00:24:47 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A5277D466; Tue, 6 Nov 2018 00:24:46 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B5B01EDE4; Tue, 6 Nov 2018 00:24:46 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA60OkaZ036834; Tue, 6 Nov 2018 00:24:46 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA60Okis036833; Tue, 6 Nov 2018 00:24:46 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201811060024.wA60Okis036833@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 6 Nov 2018 00:24:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484266 - head/multimedia/libva-intel-media-driver/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/multimedia/libva-intel-media-driver/files X-SVN-Commit-Revision: 484266 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7A5277D466 X-Spamd-Result: default: False [-102.88 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.78)[-0.781,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 00:24:47 -0000 Author: jbeich Date: Tue Nov 6 00:24:45 2018 New Revision: 484266 URL: https://svnweb.freebsd.org/changeset/ports/484266 Log: multimedia/libva-intel-media-driver: unbreak fbres fallback (nop) media_driver/linux/common/codec/ddi/media_libva_decoder.cpp:90:15: error: use of undeclared identifier 'DEFAULT_FBDEV' fd = open(DEFAULT_FBDEV,O_RDONLY); ^ Modified: head/multimedia/libva-intel-media-driver/files/patch-fbres (contents, props changed) Modified: head/multimedia/libva-intel-media-driver/files/patch-fbres ============================================================================== --- head/multimedia/libva-intel-media-driver/files/patch-fbres Tue Nov 6 00:24:23 2018 (r484265) +++ head/multimedia/libva-intel-media-driver/files/patch-fbres Tue Nov 6 00:24:45 2018 (r484266) @@ -2,7 +2,7 @@ Get framebuffer resolution on more platforms --- media_driver/linux/common/codec/ddi/media_libva_decoder.cpp.orig 2018-10-01 21:39:52 UTC +++ media_driver/linux/common/codec/ddi/media_libva_decoder.cpp -@@ -45,7 +45,38 @@ +@@ -45,7 +45,39 @@ #include #endif @@ -32,6 +32,7 @@ Get framebuffer resolution on more platforms +#define xres width +#define yres height +#else ++#define DEFAULT_FBDEV "/dev/fb0" +#define FBIOGET_VSCREENINFO 0 +struct fb_var_screeninfo { + uint32_t xres; @@ -41,7 +42,7 @@ Get framebuffer resolution on more platforms typedef MediaDdiFactory DdiDecodeFactory; static int32_t DdiDecode_GetDisplayInfo(VADriverContextP ctx) -@@ -56,7 +70,7 @@ static int32_t DdiDecode_GetDisplayInfo(VADriverContex +@@ -56,7 +88,7 @@ static int32_t DdiDecode_GetDisplayInfo(VADriverContex vsinfo.xres = 0; vsinfo.yres = 0;