diff options
| author | Daniele Ceraolo Spurio <[email protected]> | 2019-06-19 18:00:16 -0700 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2019-06-20 16:34:52 +0100 |
| commit | ccb2aceaaa5f9267ef7b485b41ae9be3f04b50d3 (patch) | |
| tree | 99ac8e94488d7e577c91d141fd854530eb4f3af7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 09c5ab384f6fb30f834a5777888b4486dd7f015d (diff) | |
drm/i915: use vfuncs for reg_read/write_fw_domains
Instead of going through the if-else chain every time, let's save the
function in the uncore structure. Note that the new functions are
purposely not used from the reg read/write functions to keep the
inlining there.
While at it, use the new macro to call the old ones to clean the code a
bit.
v2: Rename macros for no-forcewake function assignment (Tvrtko)
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Signed-off-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions