drm/tilcdc: Add tilcdc_write_mask() to tilcdc_regs.h
authorJyri Sarha <jsarha@ti.com>
Tue, 15 Nov 2016 21:02:58 +0000 (23:02 +0200)
committerJyri Sarha <jsarha@ti.com>
Wed, 30 Nov 2016 12:19:02 +0000 (14:19 +0200)
commit0f92e898d187e2c52cec7b93aa9d93ee8ed2cf16
tree88536276b460651ce120edcf5ea28eda9af0b013
parent9963d36d14ecca29414c0e78d41840cec5b0ea03
drm/tilcdc: Add tilcdc_write_mask() to tilcdc_regs.h

Add tilcdc_write_mask() for handling register field wider than one bit
and mask values for those fields.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpu/drm/tilcdc/tilcdc_regs.h