linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio
Adam Borowski 99a97a8ba9 drm/nouveau/gpio: enable interrupts on cards with 32 gpio lines
The code attempts to enable them, but hits an undefined behaviour by
shifting by the entire register's width:

    int lines = 32;
    u32 mask = (1 << lines) - 1;    // 00000000 on x86
    u32 mask = (1 << lines) - 1;    // ffffffff on arm (32)
    u32 mask = (1 << lines) - 1;    // 00000000 on arm64
    u32 mask = (1ULL << lines) - 1; // ffffffff everywhere

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-04-06 14:53:50 +10:00
..
base.c drm/nouveau/gpio: enable interrupts on cards with 32 gpio lines 2017-04-06 14:53:50 +10:00
g94.c drm/nouveau/gpio: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
gf119.c drm/nouveau/gpio: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
gk104.c drm/nouveau: mark symbols static where possible 2016-11-07 14:04:36 +10:00
Kbuild drm/nouveau/gpio: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv10.c drm/nouveau/gpio: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv50.c drm/nouveau/fb/ramgt215: Transform GPIO ramfuc method from FBVREF-specific to generic 2015-11-03 15:02:18 +10:00
priv.h drm/nouveau/gpio: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00