]> Git Repo - linux.git/commit
drm/ttm: fix eviction valuable range check.
authorDave Airlie <[email protected]>
Mon, 19 Oct 2020 22:22:53 +0000 (08:22 +1000)
committerDave Airlie <[email protected]>
Tue, 20 Oct 2020 20:59:07 +0000 (06:59 +1000)
commitfea456d82c19d201c21313864105876deabe148b
tree7aea000632ab166216dc28cf224330b556e0b973
parent7e13256dfe22b0d2e49cbfdb75bdc57e059d6c50
drm/ttm: fix eviction valuable range check.

This was adding size to start, but pfn and start are in pages,
so it should be using num_pages.

Not sure this fixes anything in the real world, just noticed it
during refactoring.

Signed-off-by: Dave Airlie <[email protected]>
Reviewed-by: Christian König <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/ttm/ttm_bo.c
This page took 0.06568 seconds and 4 git commands to generate.