drm/tilcdc: Fix load mode bit-field setting in tilcdc_crtc_enable()
authorJyri Sarha <jsarha@ti.com>
Sat, 19 Nov 2016 16:00:32 +0000 (18:00 +0200)
committerJyri Sarha <jsarha@ti.com>
Wed, 30 Nov 2016 12:19:16 +0000 (14:19 +0200)
commitf13e088ca8ba28091ff030e89cdd8e25a3a7834d
tree844a3f90815150a89f8a9233e6040d42a5ee9f8c
parent0f92e898d187e2c52cec7b93aa9d93ee8ed2cf16
drm/tilcdc: Fix load mode bit-field setting in tilcdc_crtc_enable()

Set LCDC_PALETTE_LOAD_MODE bit-field with new tilcdc_write_mask()
instead of tilcdc_set(). Setting a bit-fields with tilcdc_set() is
fundamentally broken.

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