]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/nouveau/pmu/fuc: use imm32 in ld/st macros
authorKarol Herbst <nouveau@karolherbst.de>
Wed, 2 Mar 2016 16:23:07 +0000 (17:23 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:36 +0000 (10:13 +1000)
Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
Reviewed-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc

index 0d5cbeb8d4ef6a53e3be6820cd5dfbb6797eb497..3737bd27f74e1ec0cfacba2635d613d83925049f 100644 (file)
 #endif
 
 #define st(size, addr, reg) /*
-*/     movw $r0 addr /*
+*/     imm32($r0, addr) /*
 */     st size D[$r0] reg /*
 */     clear b32 $r0
 
 #define ld(size, reg, addr) /*
-*/     movw $r0 addr /*
+*/     imm32($r0, addr)  /*
 */     ld size reg D[$r0] /*
 */     clear b32 $r0