-
294b9c83
by Sathishkumar S
at 2021-12-09T19:31:45-05:00
tests/amdgpu: add jpeg tests support
v2:
- remove dec create/destroy msg as its not relevant to jpeg (Leo)
- enable the test for jpeg2/jpeg3 (Leo)
- validate checksum of result (Leo)
- add appropriate comments (Leo)
v3:
- linux style function definition indent (James)
- use multiline comment delimiter (Leo)
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
-
9324e4f0
by Dylan Baker
at 2021-12-14T00:20:40+00:00
meson: use dictionary kwargs
So we don't have to duplicate the libdrm library call just to not set
the version keyword for android
Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
-
d9188a77
by Dylan Baker
at 2021-12-14T00:20:40+00:00
meson: add override_dependency when possible
This allows consumers of libdrm as a subproject to use the simpler
`dependency('libdrm', fallback : 'libdrm')` syntax, as the libdrm build
files already tell meson that they override a dependency called
"libdrm".
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
-
3d8e59ce
by Raviteja Goud Talla
at 2021-12-16T18:20:31+05:30
intel: sync i915_pciids.h with kernel
Align with kernel commit:
52407c220c44c ("drm/i915/rpl-s: Add PCI IDS for Raptor Lake S")
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Signed-off-by: Raviteja Goud Talla <ravitejax.goud.talla@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-
0c620c57
by ravitejax
at 2021-12-21T14:59:23+05:30
intel: Add support for RPLS platform
Fixes: 3d8e59ce019907 ("intel: sync i915_pciids.h with kernel")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
-
287cdb03
by Simon Ser
at 2021-12-21T13:07:01+00:00
releasing: s/master/main/
This default branch name has been changed. Update RELEASING
accordingly.
Signed-off-by: Simon Ser <contact@emersion.fr>
-
440e2d7a
by Tejas Upadhyay
at 2021-12-21T13:54:52+00:00
intel: Add support for ADL-N
Add ADL-N platform support and PCIIDs
Align with kernel commit:
7e28d0b26759 ("drm/i915/adl-n: Enable ADL-N platform")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
-
fa80f49d
by Guchun Chen
at 2022-01-14T09:25:18-05:00
tests/amdgpu: Add VCN test support for Biege Goby
Added Beige Goby chip id in vcn test.
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-By: Veerabadhran Gopalakrishnan <Veerabadhran.gopalakrishnan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
-
63d06ad3
by Eric Engestrom
at 2022-01-19T16:08:31-08:00
use standard `__typeof__()` instead of GNU extension `typeof()`
And switch to c_std=c99. This simplifies using libdrm as a meson
subproject for mesa.
v2: (dylan)
- switch to c99 as the standard
- Fix amdgpu security tests as well
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Emma Anholt <emma@anholt.net>
-
94bc8144
by Samuel Pitoiset
at 2022-01-20T18:32:44+01:00
amdgpu: update_drm.h for new CTX OP to set/get stable pstates
Based on agd5f/drm-next.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-
de84cdc5
by Samuel Pitoiset
at 2022-01-20T18:32:46+01:00
amdgpu: implement new CTX OP to set/get stable pstates
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-
847be265
by Samuel Pitoiset
at 2022-01-20T18:32:48+01:00
tests/amdgpu: add a test for new CTX OP to get/set stable pstates
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-
6b0b4935
by Dylan Baker
at 2022-01-20T10:07:18-08:00
meson: switch the meson builtin for symbol visiblity
This allows meson to check if the compiler supports gnu style symbol
visibility, and apply the appropriate flags as necessary, rather than us
adding them by hand
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
-
eaf234c1
by Dylan Baker
at 2022-01-20T10:07:55-08:00
meson: switch to cc.get_supported_arguments
This is generally faster, as meson is able to parallelize the checks for
us.
This also removes the workaround for checking gcc/clang -Wno-*
arguments, which meson now handles internally so we don't need to handle
it ourselves.
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
-
52b96a6f
by Dylan Baker
at 2022-01-20T10:08:23-08:00
meson: use more standard formatting for better readability
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
-
f9539d41
by Dylan Baker
at 2022-01-20T10:08:23-08:00
meson: use cc.check_header instead of open coding
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
-
38c56877
by Dylan Baker
at 2022-01-20T10:08:23-08:00
meson: use cc.has_function_attribute instead of open coding
It's less code, and also allows meson to short circuit for compilers is
knows don't support this.
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
-
cc161205
by Dylan Baker
at 2022-01-20T10:20:40-08:00
meson: use the modern interface for pkg.generate
This produces no differences in the generated output. I've had to
manually add `requires : 'libdrm'` to libdrm_intel, otherwise libdrm
ends up in `Requires.private` instead of `Requires`.
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
-
7aede93e
by Dylan Baker
at 2022-01-20T10:20:47-08:00
meson: use summary() instead of message
It's cleaner, it's nicer looking, and it's a nice builtin.
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
-
79fa377c
by Daniel Stone
at 2022-02-04T06:16:28+00:00
drm/atomic: Stable sort for atomic request de-duplication
Atomic request property lists are defined to be de-duplicated: an atomic
request can contain multiple sets for the same property on the same
object, and only the last one will take effect.
drmModeAtomicCommit already sorts the property set by object and
property ID. We were relying on qsort to also sort by cursor - i.e.
pointer value - when object and property ID are equal, however whilst
glibc does this, the sort order is explicitly undefined when the
comparator is equal. Using the pointer is also not stable on all
implementations.
Add an explicit 'cursor' member to each property set which is used as
the tie-breaker comparator.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Fixes: #46
-
56f81e67
by Samuel Pitoiset
at 2022-02-16T11:00:13+01:00
build: bump version to 2.4.110
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
da37e481
by Timo Aaltonen
at 2022-02-18T14:54:42+02:00
Merge branch 'upstream-unstable' into debian-unstable
-
2de7d517
by Timo Aaltonen
at 2022-02-18T14:55:03+02:00
version bump
-
a248c08b
by Timo Aaltonen
at 2022-02-18T15:14:21+02:00
Update signing-key.asc.
-
8cd5adda
by Timo Aaltonen
at 2022-02-18T15:21:04+02:00
symbols: Updated.
-
dc873ee5
by Timo Aaltonen
at 2022-02-18T15:22:02+02:00
control: Bump debhelper-compat to 13, policy to 4.6.0.
-
8f39948a
by Timo Aaltonen
at 2022-02-18T15:22:18+02:00
release to sid