Skip to content

Instantly share code, notes, and snippets.

View lucasdemarchi's full-sized avatar

Lucas De Marchi lucasdemarchi

View GitHub Profile
diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
index afee3e39fc82..a6445cd9f3ee 100644
--- a/include/drm/i915_pciids.h
+++ b/include/drm/i915_pciids.h
@@ -694,30 +694,33 @@
INTEL_VGA_DEVICE(0xA7A9, info)
/* DG2 */
-#define INTEL_DG2_G10_IDS(info) \
- INTEL_VGA_DEVICE(0x5690, info), \
diff --git a/drivers/dma-buf/dma-fence-array.c b/drivers/dma-buf/dma-fence-array.c
index 3e07f961e2f3d7..c6fde5eaa53439 100644
--- a/drivers/dma-buf/dma-fence-array.c
+++ b/drivers/dma-buf/dma-fence-array.c
@@ -158,6 +158,8 @@ struct dma_fence_array *dma_fence_array_create(int num_fences,
{
struct dma_fence_array *array;
size_t size = sizeof(*array);
+ unsigned num_pending = 0;
+ struct dma_fence **f;
[ 131.592870] i915 0000:03:00.0: [drm:intel_alloc_initial_plane_obj.isra.0 [i915]] Using phys_base=0x0000000000000000, based on initial plane programming
[ 131.593255] BUG: kernel NULL pointer dereference, address: 0000000000000008
[ 131.600237] #PF: supervisor read access in kernel mode
[ 131.605387] #PF: error_code(0x0000) - not-present page
[ 131.610540] PGD 0 P4D 0
[ 131.613091] Oops: 0000 [#1] PREEMPT SMP NOPTI
[ 131.617468] CPU: 8 PID: 1977 Comm: modprobe Not tainted 5.18.0-rc1-demarchi+ #196
[ 131.624963] Hardware name: Intel Corporation Alder Lake Client Platform/AlderLake-S
lucas@lucas-S2600CW:~/p/linux-dim/drm-tip$ git diff
diff --cc drivers/gpu/drm/mediatek/mtk_dsi.c
index ccb0511b9cd5,1487cc308c5d..000000000000
/**
* iosys_map_rd_field - Read a member from a struct in the iosys_map
*
* @map__: The iosys_map structure
* @struct_offset__: Offset from the beggining of the map, where the struct
* is located
* @struct_type__: The struct describing the layout of the mapping
* @field__: Member of the struct to read
*
* Read a value from iosys_map assuming its layout is described by a struct,
$ ./distro/install-sk2.sh bundle.tar.gz
Space requirements on SkyController 2:
/data: Free: 5796 KB
Required: 1272 KB
/: Free: 24548 KB
Required: 8 KB
Installing these files on SkyController 2:
./data/ftp/internal_000/dema-rc/usr/bin/dema-rc-cm
diff --git a/./.config.old b/./.config
index 830d4f6872dd..e8a40342007b 100644
--- a/./.config.old
+++ b/./.config
@@ -112,7 +112,9 @@ CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
-# CONFIG_IKCONFIG is not set
+CONFIG_BUILD_BIN2C=y
$ git status
On branch drm-tip
Your branch and 'drm-tip/drm-tip' have diverged,
and have 6 and 23 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
All conflicts fixed but you are still merging.
(use "git commit" to conclude merge)
Changes to be committed:
$ dim rebuild-tip
Updating rerere cache... Done.
Reloading nightly.conf... Done.
Fetching sound-upstream (local remote sound)... Done.
Fetching drm-intel... Done.
Fetching drm-tip... Done.
Fetching linux-upstream (local remote origin)... Done.
Fetching drm-amd... Done.
Fetching drm... Done.
Fetching drm-misc... Done.
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 2b5b6bf374..380f419873 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -2778,10 +2778,11 @@ static int setup_sd_notify_child(void) {
if (fd < 0)
return log_error_errno(errno, "Failed to allocate notification socket: %m");
+ strncpy(sa.un.sun_path, NSPAWN_NOTIFY_SOCKET_PATH, sizeof(sa.un.sun_path));
+