mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 10:58:06 +02:00
Compare commits
8 commits
libdrm-2.4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b8b7c57c00 | ||
|
|
7f86e45164 | ||
|
|
cb4669afe8 | ||
|
|
91f7cd0ba2 | ||
|
|
ff12339926 | ||
|
|
a6e1316d03 | ||
|
|
31c6232896 | ||
|
|
b1144c21ca |
7 changed files with 15 additions and 15 deletions
|
|
@ -18,9 +18,9 @@ include:
|
||||||
- project: 'freedesktop/ci-templates'
|
- project: 'freedesktop/ci-templates'
|
||||||
ref: *template_sha
|
ref: *template_sha
|
||||||
file:
|
file:
|
||||||
- '/templates/debian.yml'
|
- '/templates/debian.yml'
|
||||||
- '/templates/freebsd.yml'
|
- '/templates/freebsd.yml'
|
||||||
- '/templates/ci-fairy.yml'
|
- '/templates/ci-fairy.yml'
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
FDO_UPSTREAM_REPO: mesa/libdrm
|
FDO_UPSTREAM_REPO: mesa/libdrm
|
||||||
|
|
@ -39,11 +39,11 @@ stages:
|
||||||
.os-debian:
|
.os-debian:
|
||||||
variables:
|
variables:
|
||||||
BUILD_OS: debian
|
BUILD_OS: debian
|
||||||
FDO_DISTRIBUTION_VERSION: bookworm
|
FDO_DISTRIBUTION_VERSION: trixie-slim
|
||||||
FDO_DISTRIBUTION_PACKAGES: 'build-essential docbook-xsl libatomic-ops-dev libcairo2-dev libcunit1-dev libpciaccess-dev meson ninja-build pkg-config python3 python3-pip python3-wheel python3-setuptools python3-docutils valgrind'
|
FDO_DISTRIBUTION_PACKAGES: 'build-essential docbook-xsl libatomic-ops-dev libcairo2-dev libcunit1-dev libpciaccess-dev meson ninja-build pkg-config python3 python3-pip python3-wheel python3-setuptools python3-docutils valgrind'
|
||||||
# bump this tag every time you change something which requires rebuilding the
|
# bump this tag every time you change something which requires rebuilding the
|
||||||
# base image
|
# base image
|
||||||
FDO_DISTRIBUTION_TAG: "2024-06-25.0"
|
FDO_DISTRIBUTION_TAG: "2026-04-27.0"
|
||||||
|
|
||||||
.debian-x86_64:
|
.debian-x86_64:
|
||||||
extends:
|
extends:
|
||||||
|
|
|
||||||
|
|
@ -238,7 +238,7 @@ static char *find_asic_id_table(void)
|
||||||
{
|
{
|
||||||
// first check the paths in AMDGPU_ASIC_ID_TABLE_PATHS environment variable
|
// first check the paths in AMDGPU_ASIC_ID_TABLE_PATHS environment variable
|
||||||
const char *amdgpu_asic_id_table_paths = secure_getenv("AMDGPU_ASIC_ID_TABLE_PATHS");
|
const char *amdgpu_asic_id_table_paths = secure_getenv("AMDGPU_ASIC_ID_TABLE_PATHS");
|
||||||
char *file_name = NULL;
|
const char *file_name = NULL;
|
||||||
char *found_path = NULL;
|
char *found_path = NULL;
|
||||||
char **paths = NULL;
|
char **paths = NULL;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
project(
|
project(
|
||||||
'libdrm',
|
'libdrm',
|
||||||
['c'],
|
['c'],
|
||||||
version : '2.4.132',
|
version : '2.4.133',
|
||||||
license : 'MIT',
|
license : 'MIT',
|
||||||
meson_version : '>= 0.59',
|
meson_version : '>= 0.59',
|
||||||
default_options : ['buildtype=debugoptimized', 'c_std=c11'],
|
default_options : ['buildtype=debugoptimized', 'c_std=c11'],
|
||||||
|
|
|
||||||
|
|
@ -46,13 +46,11 @@ option(
|
||||||
option(
|
option(
|
||||||
'omap',
|
'omap',
|
||||||
type : 'feature',
|
type : 'feature',
|
||||||
value : 'disabled',
|
|
||||||
description : '''Enable support for OMAP's experimental KMS API.''',
|
description : '''Enable support for OMAP's experimental KMS API.''',
|
||||||
)
|
)
|
||||||
option(
|
option(
|
||||||
'exynos',
|
'exynos',
|
||||||
type : 'feature',
|
type : 'feature',
|
||||||
value : 'disabled',
|
|
||||||
description : '''Enable support for EXYNOS's experimental KMS API.''',
|
description : '''Enable support for EXYNOS's experimental KMS API.''',
|
||||||
)
|
)
|
||||||
option(
|
option(
|
||||||
|
|
@ -63,7 +61,6 @@ option(
|
||||||
option(
|
option(
|
||||||
'tegra',
|
'tegra',
|
||||||
type : 'feature',
|
type : 'feature',
|
||||||
value : 'disabled',
|
|
||||||
description : '''Enable support for Tegra's experimental KMS API.''',
|
description : '''Enable support for Tegra's experimental KMS API.''',
|
||||||
)
|
)
|
||||||
option(
|
option(
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <linux/types.h>
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
||||||
|
|
@ -1974,7 +1974,8 @@ static int parse_connector(struct pipe_arg *pipe, const char *arg)
|
||||||
unsigned int len;
|
unsigned int len;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
const char *p;
|
const char *p;
|
||||||
char *endp;
|
const char *endp;
|
||||||
|
char *endp_tok;
|
||||||
|
|
||||||
pipe->vrefresh = 0;
|
pipe->vrefresh = 0;
|
||||||
pipe->crtc_id = (uint32_t)-1;
|
pipe->crtc_id = (uint32_t)-1;
|
||||||
|
|
@ -2012,7 +2013,8 @@ static int parse_connector(struct pipe_arg *pipe, const char *arg)
|
||||||
return -1;
|
return -1;
|
||||||
if (*endp == '@') {
|
if (*endp == '@') {
|
||||||
arg = endp + 1;
|
arg = endp + 1;
|
||||||
pipe->crtc_id = strtoul(arg, &endp, 10);
|
pipe->crtc_id = strtoul(arg, &endp_tok, 10);
|
||||||
|
endp = endp_tok;
|
||||||
}
|
}
|
||||||
if (*endp != ':')
|
if (*endp != ':')
|
||||||
return -1;
|
return -1;
|
||||||
|
|
@ -2028,8 +2030,8 @@ static int parse_connector(struct pipe_arg *pipe, const char *arg)
|
||||||
pipe->mode_str[len] = '\0';
|
pipe->mode_str[len] = '\0';
|
||||||
|
|
||||||
if (*p == '-') {
|
if (*p == '-') {
|
||||||
pipe->vrefresh = strtof(p + 1, &endp);
|
pipe->vrefresh = strtof(p + 1, &endp_tok);
|
||||||
p = endp;
|
p = endp_tok;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*p == '@') {
|
if (*p == '@') {
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,8 @@
|
||||||
#ifndef _UTIL_MATH_H_
|
#ifndef _UTIL_MATH_H_
|
||||||
#define _UTIL_MATH_H_
|
#define _UTIL_MATH_H_
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#define MIN2( A, B ) ( (A)<(B) ? (A) : (B) )
|
#define MIN2( A, B ) ( (A)<(B) ? (A) : (B) )
|
||||||
#define MAX2( A, B ) ( (A)>(B) ? (A) : (B) )
|
#define MAX2( A, B ) ( (A)>(B) ? (A) : (B) )
|
||||||
#define MAX3( A, B, C ) ((A) > (B) ? MAX2(A, C) : MAX2(B, C))
|
#define MAX3( A, B, C ) ((A) > (B) ? MAX2(A, C) : MAX2(B, C))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue