Displaying 7 results from an estimated 7 matches for "nvkm_gsp_rpc_wr".
2023 Nov 07
3
[bug report] drm/nouveau/gsp/r535: add support for booting GSP-RM
...T_POWER_STATE_GPU_LEVEL_3;
1023 } else {
1024 rpc->bInPMTransition = 0;
1025 rpc->bGc6Entering = 0;
1026 rpc->newLevel = NV2080_CTRL_GPU_SET_POWER_STATE_GPU_LEVEL_0;
1027 }
1028
1029 return nvkm_gsp_rpc_wr(gsp, rpc, true);
1030 }
regards,
dan carpenter
2023 Nov 07
2
[bug report] drm/nouveau/gsp/r535: add support for booting GSP-RM
...} else {
> 1024 rpc->bInPMTransition = 0;
> 1025 rpc->bGc6Entering = 0;
> 1026 rpc->newLevel = NV2080_CTRL_GPU_SET_POWER_STATE_GPU_LEVEL_0;
> 1027 }
> 1028
> 1029 return nvkm_gsp_rpc_wr(gsp, rpc, true);
> 1030 }
>
> regards,
> dan carpenter
2024 Jan 29
0
[PATCH] [v2] nouveau: add command-line GSP-RM registry support
...>
#include <linux/acpi.h>
+#include <linux/ctype.h>
+#include <linux/parser.h>
#define GSP_MSG_MIN_SIZE GSP_PAGE_SIZE
#define GSP_MSG_MAX_SIZE GSP_PAGE_MIN_SIZE * 16
@@ -1049,52 +1051,278 @@ r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend)
return nvkm_gsp_rpc_wr(gsp, rpc, true);
}
+struct registry_list_entry {
+ struct list_head list;
+ size_t name_len;
+ u32 type;
+ u32 data;
+ u32 length;
+ char name[];
+};
+
+/**
+ * add_registry -- adds a registry entry
+ * @name: name of the registry key
+ * @type: type of data (1 = integer)
+ * @data: value
+ * @l...
2024 Feb 20
2
[PATCH] [v4] nouveau: add command-line GSP-RM registry support
...>
#include <linux/acpi.h>
+#include <linux/ctype.h>
+#include <linux/parser.h>
#define GSP_MSG_MIN_SIZE GSP_PAGE_SIZE
#define GSP_MSG_MAX_SIZE GSP_PAGE_MIN_SIZE * 16
@@ -1082,51 +1084,376 @@ r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend)
return nvkm_gsp_rpc_wr(gsp, rpc, true);
}
+enum registry_type {
+ REGISTRY_TABLE_ENTRY_TYPE_DWORD = 1, /* 32-bit unsigned integer */
+ REGISTRY_TABLE_ENTRY_TYPE_BINARY = 2, /* Binary blob */
+ REGISTRY_TABLE_ENTRY_TYPE_STRING = 3, /* Null-terminated string */
+};
+
+/**
+ * registry_list_entry - linked list member fo...
2024 Jan 30
1
[PATCH] nouveau/gsp: use correct size for registry rpc.
...sizeof(*rpc);
rpc->numEntries = NV_GSP_REG_NUM_ENTRIES;
str_offset = offsetof(typeof(*rpc), entries[NV_GSP_REG_NUM_ENTRIES]);
@@ -1094,6 +1093,7 @@ r535_gsp_rpc_set_registry(struct nvkm_gsp *gsp)
strings += name_len;
str_offset += name_len;
}
+ rpc->size = str_offset;
return nvkm_gsp_rpc_wr(gsp, rpc, false);
}
--
2.43.0
2023 Nov 07
1
[bug report] drm/nouveau/gsp/r535: add support for booting GSP-RM
...t; ???? 1024???????????????? rpc->bInPMTransition = 0;
>> ???? 1025???????????????? rpc->bGc6Entering = 0;
>> ???? 1026???????????????? rpc->newLevel = NV2080_CTRL_GPU_SET_POWER_STATE_GPU_LEVEL_0;
>> ???? 1027???????? }
>> ???? 1028
>> ???? 1029???????? return nvkm_gsp_rpc_wr(gsp, rpc, true);
>> ???? 1030 }
>>
>> regards,
>> dan carpenter
2024 Mar 20
1
[PATCH] [v4] nouveau: add command-line GSP-RM registry support
...> +#include <linux/parser.h>
> > ??
> > ??#define GSP_MSG_MIN_SIZE GSP_PAGE_SIZE
> > ??#define GSP_MSG_MAX_SIZE GSP_PAGE_MIN_SIZE * 16
> > @@ -1082,51 +1084,376 @@ r535_gsp_rpc_unloading_guest_driver(struct
> > nvkm_gsp *gsp, bool suspend)
> > ?? return nvkm_gsp_rpc_wr(gsp, rpc, true);
> > ??}
> > ??
> > +enum registry_type {
> > + REGISTRY_TABLE_ENTRY_TYPE_DWORD = 1, /* 32-bit unsigned
> > integer */
> > + REGISTRY_TABLE_ENTRY_TYPE_BINARY = 2, /* Binary blob */
> > + REGISTRY_TABLE_ENTRY_TYPE_STRING = 3, /* Null-termina...