drm/i915/dsi: Enable dithering for 6 bpc panels
authorHans de Goede <hdegoede@redhat.com>
Sat, 1 Dec 2018 11:31:46 +0000 (12:31 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 21 Jan 2019 09:45:25 +0000 (10:45 +0100)
commit24bf86ccf9f5563f7d288f8b7672b0facdefbc95
treef8cd2da7d941a4b78ef9006898b6a3d300508bb3
parentca0b04db14a51893322a2a4638a41dc79c2cf98a
drm/i915/dsi: Enable dithering for 6 bpc panels

The display engine has 2 dithering enable bits which both need to be set
for dithering to happen, 1 in the PIPECONF register which is taken care of
by i9xx_set_pipeconf() and a second bit at the encoder level.

The dsi code was not setting the encoder level dithering enable bit causing
dithering to be disabled, this commit fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181201113148.23184-2-hdegoede@redhat.com
drivers/gpu/drm/i915/vlv_dsi.c