diff options
| author | Kumar, Mahesh <[email protected]> | 2017-08-17 19:15:22 +0530 |
|---|---|---|
| committer | Maarten Lankhorst <[email protected]> | 2017-09-07 13:33:45 +0200 |
| commit | 0b4d7cbff2be27c89617e1ca60a546019f7ff276 (patch) | |
| tree | d6e80d6d43bd80b46a09ead45ba17b52f92ec7b1 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c9636244f86ae80b66e8ffb05ff755d85edf1988 (diff) | |
drm/i915: Fixed point fixed16 wrapper cleanup
As per suggestion from Jani, cleanup the code. Cleanup includes
- Instead of left shifting & check, compare with U32/16_MAX
- Use typecast instead of clamp_t
Signed-off-by: Mahesh Kumar <[email protected]>
Cc: Jani Nikula <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Maarten Lankhorst <[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