Re: [Intel-gfx] [PATCH] drm/i915/guc: write wopcm related register once during uc init

2017-04-13 Thread Joonas Lahtinen
On to, 2017-04-06 at 17:18 -0700, Daniele Ceraolo Spurio wrote: > The wopcm registers are write-once, so any write after the first one > will just be ignored. The registers survive a GPU reset but not > always a suspend/resume cycle, so to keep things simple keep the > writes in the

[Intel-gfx] [PATCH] drm/i915/guc: write wopcm related register once during uc init

2017-04-06 Thread Daniele Ceraolo Spurio
The wopcm registers are write-once, so any write after the first one will just be ignored. The registers survive a GPU reset but not always a suspend/resume cycle, so to keep things simple keep the writes in the intel_uc_init_hw function instead of moving it earlier to make sure we attempt them