drm/rockchip: vop: fix mask when updating interrupts
authorJohn Keeping <john@metanate.com>
Tue, 12 Jan 2016 18:05:18 +0000 (18:05 +0000)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 18 Jan 2016 00:42:09 +0000 (08:42 +0800)
commitc7647f8681feeb6c0957e3cf5daed1fbf8b3a5af
tree820914b530f0d6f8f7c9fd79fab6574d562f841f
parent63087aae5a7976a4557d16873146eae03948ec74
drm/rockchip: vop: fix mask when updating interrupts

Commit dbb3d94 (drm/rockchip: vop: move interrupt registers into
vop_data) introduced new macros for updating the interrupt control
registers but these always use the mask from the register definition
without refining it for the particular bits that are being changed.

This means that whenever we enable/disable a particular interrupt we end
up disabling all of the others as a side effect.

Signed-off-by: John Keeping <john@metanate.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c