summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorKui Wen <kui.wen@intel.com>2021-01-19 16:31:03 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2021-01-19 23:36:26 +0300
commit23b2afc6eef83bfcf05c04f386c34f6242766f52 (patch)
treedb8d95cec8605941af4b3948f9cea7dcdf7fc533 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentdb80a1294c231b6ac725085f046bb2931e00c9db (diff)
downloadlinux-23b2afc6eef83bfcf05c04f386c34f6242766f52.tar.xz
drm/i915: Fix the sgt.pfn sanity check
For the device local-memory case, sgt.pfn will always be equal to zero, since we instead use sgt.dma. Also, for device local-memory it is perfectly valid for it to start from zero anyway, so no need to add a new check for that either. Signed-off-by: Kui Wen <kui.wen@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20210119133106.66294-1-matthew.auld@intel.com
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions