diff options
author | Ville Syrjälä <[email protected]> | 2018-09-18 16:10:59 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2018-09-18 18:12:12 +0300 |
commit | 1ee516ffa73107f96c1355cce5880b6c38d22d51 (patch) | |
tree | 3e4bff2ca91491c68c59de9f0ad4a071182aa612 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 21c62a9d16252725ec1f26707bf7db6b8ec59c7f (diff) |
drm/i915: Fix logic fumble in rotation vs. ccs check
Smatch reports:
../drivers/gpu/drm/i915/intel_sprite.c:1192 skl_plane_check_fb() warn: was || intended here instead of &&?
Obviously smatch is correct here since we're trying to check if we're
using either of the ccs modifiers. Since we now have is_ccs_modifier()
let's use it to fix this.
Cc: Dan Carpenter <[email protected]>
Cc: José Roberto de Souza <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Fixes: e21c2d331018 ("drm/i915: Move skl plane fb related checks into a better place")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions