]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/atom.h
Merge tag 'kernel.sys.v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner...
[linux.git] / drivers / gpu / drm / amd / amdgpu / atom.h
index d279759cab47b5e0eac39b54203ebbee2d4c6204..0c183982452060497d2711a7eb5254a93db5dcd9 100644 (file)
@@ -112,6 +112,10 @@ struct drm_device;
 #define ATOM_IO_SYSIO          2
 #define ATOM_IO_IIO            0x80
 
+#define STRLEN_NORMAL          32
+#define STRLEN_LONG            64
+#define STRLEN_VERYLONG                254
+
 struct card_info {
        struct drm_device *dev;
        void (* reg_write)(struct card_info *, uint32_t, uint32_t);   /*  filled by driver */
@@ -140,6 +144,12 @@ struct atom_context {
        uint32_t *scratch;
        int scratch_size_bytes;
        char vbios_version[20];
+
+       uint8_t name[STRLEN_LONG];
+       uint8_t vbios_pn[STRLEN_LONG];
+       uint32_t version;
+       uint8_t vbios_ver_str[STRLEN_NORMAL];
+       uint8_t date[STRLEN_NORMAL];
 };
 
 extern int amdgpu_atom_debug;
This page took 0.034394 seconds and 4 git commands to generate.