[PATCH 1/2] drm/amdgpu/gfx: fix MEC interrupt enablement for pipes != 0

Tom St Denis tom.stdenis at amd.com
Fri Jun 9 14:31:02 UTC 2017


On 09/06/17 10:23 AM, Deucher, Alexander wrote:
>> Could use WREG32_FIELD() here to simplify these.
> 
> That doesn't work if you have variable register names as we do in this case.

Which is why we have WREG32_FIELD_OFFSET :-)


Tom


More information about the amd-gfx mailing list