aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_active.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-11-01 19:21:16 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-11-01 19:45:56 +0000
commit9278bbb6e43cde306f07f9a60274195b5b24f90a (patch)
tree301722ea9b5c7383d900786172c90035794eabf6 /drivers/gpu/drm/i915/i915_active.h
parentdrm/i915/selftests: Add intel_gt_suspend_prepare (diff)
downloadlinux-dev-9278bbb6e43cde306f07f9a60274195b5b24f90a.tar.xz
linux-dev-9278bbb6e43cde306f07f9a60274195b5b24f90a.zip
drm/i915/perf: Reverse a ternary to make sparse happy
Avoid drivers/gpu/drm/i915/i915_perf.c:2442:85: warning: dubious: x | !y simply by inverting the predicate and reversing the ternary. v2: Move the long lines into their own function so there is no confusion on operator precedence. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191101192116.12647-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_active.h')
0 files changed, 0 insertions, 0 deletions