drm/tegra: Split DC_CMD_STATE_CONTROL register write
authorThierry Reding <thierry.reding@avionic-design.de>
Tue, 15 Jan 2013 11:21:36 +0000 (12:21 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 22 Feb 2013 07:21:32 +0000 (08:21 +0100)
commit3b9e71eae5ac5ded28ad1dcded7c01ae73dd9581
tree7cdcd07598792b00aa419d5e04130402cb4469e6
parent3c03c46ac80ea7edc3b8f2ba85085de54aec15cd
drm/tegra: Split DC_CMD_STATE_CONTROL register write

The Tegra TRM says that the ACT_REQ and UPDATE fields cannot be
programmed at the same time so they are updated in two consecutive
writes instead.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/gpu/drm/tegra/dc.c