diff options
author | Daniel Vetter <[email protected]> | 2020-02-22 18:54:32 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-02-26 14:02:41 -0500 |
commit | eb12c957735b582607e5842a06d1f4c62e185c1d (patch) | |
tree | 16b2c37a50065c9d8635c81982563522026b5443 /tools/perf/util/trace-event-scripting.c | |
parent | 8a3bddf67ce88b96531fb22c5a75d7f4dc41d155 (diff) |
drm/radeon: Inline drm_get_pci_dev
It's the last user, and more importantly, it's the last non-legacy
user of anything in drm_pci.c.
The only tricky bit is the agp initialization. But a close look shows
that radeon does not use the drm_agp midlayer (the main use of that is
drm_bufs for legacy drivers), and instead could use the agp subsystem
directly (like nouveau does already). Hence we can just pull this in
too.
A further step would be to entirely drop the use of drm_device->agp,
but feels like too much churn just for this patch.
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: "David (ChunMing) Zhou" <[email protected]>
Cc: [email protected]
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions