diff options
| author | Sam Ravnborg <[email protected]> | 2019-07-23 22:09:41 +0200 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2019-07-25 17:33:38 +0200 |
| commit | 3bf2a06e3612575284202c63de4f584006a85146 (patch) | |
| tree | 1562897fc335dd57fdb4197ae2ec371e69758d3f /tools/perf/scripts/python | |
| parent | 17224cf29cbb5c496d08ffecc9db3c5e6cf09551 (diff) | |
drm/via: drop use of DRM(READ|WRITE) macros
The DRM_READ, DRM_WRITE macros comes from the deprecated drm_os_linux.h
header file. Remove their use to remove this dependency.
Replace the use of the macros with static inline variants.
v4:
- Use a more standard via_write8_mask() function (Emil)
v3:
- Use static inline functions, rather than macros (Emil)
- Use dedicated mask variants for byte access (Emil)
Signed-off-by: Sam Ravnborg <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Cc: Kevin Brace <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Cc: "Gustavo A. R. Silva" <[email protected]>
Cc: Mike Marshall <[email protected]>
Cc: Ira Weiny <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Michel Dänzer <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions