mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
freedreno: Drop device_id
This wasn't actually used for anything. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12159>
This commit is contained in:
parent
7a11cc42e7
commit
f100acd0c5
2 changed files with 1 additions and 7 deletions
|
|
@ -966,12 +966,6 @@ fd_screen_create(struct fd_device *dev, struct renderonly *ro,
|
|||
fd_pipe_get_param(screen->pipe, FD_GMEM_BASE, &screen->gmem_base);
|
||||
}
|
||||
|
||||
if (fd_pipe_get_param(screen->pipe, FD_DEVICE_ID, &val)) {
|
||||
DBG("could not get device-id");
|
||||
goto fail;
|
||||
}
|
||||
screen->device_id = val;
|
||||
|
||||
if (fd_pipe_get_param(screen->pipe, FD_MAX_FREQ, &val)) {
|
||||
DBG("could not get gpu freq");
|
||||
/* this limits what performance related queries are
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ struct fd_screen {
|
|||
|
||||
uint64_t gmem_base;
|
||||
uint32_t gmemsize_bytes;
|
||||
uint32_t device_id;
|
||||
|
||||
uint32_t gpu_id; /* 220, 305, etc */
|
||||
uint32_t chip_id; /* coreid:8 majorrev:8 minorrev:8 patch:8 */
|
||||
uint32_t max_freq;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue