diff options
| author | Kumar, Mahesh <mahesh1.kumar@intel.com> | 2017-08-17 19:15:22 +0530 |
|---|---|---|
| committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-09-07 13:33:45 +0200 |
| commit | 0b4d7cbff2be27c89617e1ca60a546019f7ff276 (patch) | |
| tree | d6e80d6d43bd80b46a09ead45ba17b52f92ec7b1 /tools/perf/scripts/python | |
| parent | tools/testing/scatterlist: Test new __sg_alloc_table_from_pages (diff) | |
| download | linux-0b4d7cbff2be27c89617e1ca60a546019f7ff276.tar.gz linux-0b4d7cbff2be27c89617e1ca60a546019f7ff276.zip | |
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 <mahesh1.kumar@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170817134529.2839-2-mahesh1.kumar@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
