summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorRoy Spliet <rspliet@eclipso.eu>2015-03-12 20:43:23 +0100
committerBen Skeggs <bskeggs@redhat.com>2015-04-14 17:00:49 +1000
commitd9da545e101312f52706c8b05afbd8f1f875ff81 (patch)
treea9539a8aeebb826d5b27c36e00a4a1aa6e0797fb /drivers/gpu
parent3834b632b2e3f8586692e80b936c52b9dc987144 (diff)
drm/nouveau/pbus/hwsq: Make code size u16
So we can actually use the full 512 byte code space Signed-off-by: Roy Spliet <rspliet@eclipso.eu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
index b8853bf16b23..7622b41619a0 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
@@ -29,7 +29,7 @@ struct nvkm_hwsq {
u32 data;
struct {
u8 data[512];
- u8 size;
+ u16 size;
} c;
};