Re: [Intel-gfx] [PATCH] drm/i915/gvt: avoid useless use of inline

2020-12-02 Thread Zhenyu Wang
On 2020.11.30 13:13:53 +0200, Jani Nikula wrote: > In most cases, we are better off letting the compiler decide whether to > inline static functions in .c files or not. In this case, the inline > will be ignored anyway as mmio_pm_restore_handler() is passed as a > function pointer. > > Fixes: 5f60

[Intel-gfx] [PATCH] drm/i915/gvt: avoid useless use of inline

2020-11-30 Thread Jani Nikula
In most cases, we are better off letting the compiler decide whether to inline static functions in .c files or not. In this case, the inline will be ignored anyway as mmio_pm_restore_handler() is passed as a function pointer. Fixes: 5f60b12edcd0 ("drm/i915/gvt: Save/restore HW status to support GV