mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 03:40:22 +01:00
asahi: Pull device name from device struct
This isn't filled in yet, but will be once the UAPI init function is added. Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21662>
This commit is contained in:
parent
f1dac37b3d
commit
8e86ba3dd4
1 changed files with 3 additions and 1 deletions
|
|
@ -1198,7 +1198,9 @@ agx_get_device_vendor(struct pipe_screen *pscreen)
|
|||
static const char *
|
||||
agx_get_name(struct pipe_screen *pscreen)
|
||||
{
|
||||
return "Apple M1 (G13G B0)";
|
||||
struct agx_device *dev = agx_device(pscreen);
|
||||
|
||||
return dev->name;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue