]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Call invalidate after changing the vfunc
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 13 Dec 2017 22:13:49 +0000 (23:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Dec 2017 08:06:58 +0000 (08:06 +0000)
commit14bd47e3a131b532792a816fbe3acf5c4f9ddaee
tree32fd212e122e4083d17d274e5c33cc4c1482a1f6
parent6ad68c01dbbeaddf7ab4cb52304000b2c297fd23
drm/i915/guc: Call invalidate after changing the vfunc

To make this operation a bit cleaner, we should make sure that the HW
can catch up by calling the new implementation right away.
Note that currently we're only touching the vfunc at module load time
(before GuC is even loaded), so this shouldn't cause any functional
changes.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@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/20171213221352.7173-4-michal.winiarski@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c