summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-02-12 12:14:15 -0500
committerMarek Olšák <[email protected]>2019-04-23 11:28:56 -0400
commit64d6cc982d5ccf6b396c0dec24611c5c6ef1cc7d (patch)
treea30438ca7a2d57e1b8d0535af370a493435d7e12 /src/gallium/winsys
parent9b33465481daf465cde3ff46261486ab5c6433c6 (diff)
ac: add radeon_info::marketing_name, replacing the winsys callback
Tested-by: Dieter Nützel <[email protected]> Acked-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
index 45e54b4791d..e847c5cff10 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
@@ -273,12 +273,6 @@ static bool amdgpu_winsys_unref(struct radeon_winsys *rws)
return destroy;
}
-static const char* amdgpu_get_chip_name(struct radeon_winsys *ws)
-{
- amdgpu_device_handle dev = ((struct amdgpu_winsys *)ws)->dev;
- return amdgpu_get_marketing_name(dev);
-}
-
static void amdgpu_pin_threads_to_L3_cache(struct radeon_winsys *rws,
unsigned cache)
{
@@ -388,7 +382,6 @@ amdgpu_winsys_create(int fd, const struct pipe_screen_config *config,
ws->base.cs_request_feature = amdgpu_cs_request_feature;
ws->base.query_value = amdgpu_query_value;
ws->base.read_registers = amdgpu_read_registers;
- ws->base.get_chip_name = amdgpu_get_chip_name;
ws->base.pin_threads_to_L3_cache = amdgpu_pin_threads_to_L3_cache;
amdgpu_bo_init_functions(ws);