mirror of https://gitlab.freedesktop.org/mesa/mesa
etnaviv: Introduce common etna_core_info
This struct will be used in different places outside of the gallium driver. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28574>
This commit is contained in:
parent
1984712a8e
commit
3b150bcba8
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
BasedOnStyle: InheritParentConfig
|
||||||
|
DisableFormat: false
|
||||||
|
|
||||||
|
AlignConsecutiveBitFields: true
|
||||||
|
ColumnLimit: 100
|
||||||
|
BreakStringLiterals: false
|
|
@ -0,0 +1,13 @@
|
||||||
|
/*
|
||||||
|
* Copyright © 2024 Igalia S.L.
|
||||||
|
* SPDX-License-Identifier: MIT
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
struct etna_core_info {
|
||||||
|
uint32_t model;
|
||||||
|
uint32_t revision;
|
||||||
|
};
|
|
@ -0,0 +1,9 @@
|
||||||
|
#
|
||||||
|
# Copyright © 2024 Igalia S.L.
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
#
|
||||||
|
|
||||||
|
# Headers-only dependency
|
||||||
|
idep_etna_common = declare_dependency(
|
||||||
|
include_directories : include_directories('.'),
|
||||||
|
)
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
inc_etnaviv = include_directories(['.'])
|
inc_etnaviv = include_directories(['.'])
|
||||||
|
|
||||||
|
subdir('common')
|
||||||
subdir('drm')
|
subdir('drm')
|
||||||
subdir('isa')
|
subdir('isa')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue