On Thu, Jan 30, 2020 at 8:13 AM Linus Torvalds torvalds@linux-foundation.org wrote:
That doesn't seem right. If I do that, I lose the added GEM_BUG_ON()'s.
Just for your ref: see commit ecc4d2a52df6 ("drm/i915/userptr: fix size calculation") for the source of those debug statements, and then 2c86e55d2ab5 ("drm/i915/gtt: split up i915_gem_gtt") on the other side that just moved the functions..
Linus