[Intel-gfx] [PATCH 4/5] drm/i915/guc: unify notify() functions
Michal Wajdeczko
michal.wajdeczko at intel.com
Wed Dec 11 14:26:13 UTC 2019
On Tue, 10 Dec 2019 22:09:18 +0100, Daniele Ceraolo Spurio
<daniele.ceraolospurio at intel.com> wrote:
> The Gen11+ and the legacy function differ in the register and value
> written to interrupt the GuC. However, while on older gen the value
> matches a bit on the register, on Gen11+ the value is a SW defined
> payload that is sent to the FW. Since the FW behaves the same no matter
> what value we pass to it, we can just write the same thing on all gens
> and get rid of the function pointer by saving the register offset.
>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: John Harrison <John.C.Harrison at Intel.com>
> Cc: Matthew Brost <matthew.brost at intel.com>
> ---
Reviewed-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
More information about the Intel-gfx
mailing list