commit | 83c0bcb694be31dcd6c04bdd935b96a95a0af548 | [log] [tgz] |
---|---|---|
author | Lucas Stach <dev@lynxeye.de> | Wed Dec 19 21:38:54 2012 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Sun Dec 30 14:01:33 2012 +1000 |
tree | f6b6448f3080240513a40208098e99625010a31d | |
parent | 4026bfb39a3e63e32b3c4a648bb1ac1fd8c6b162 [diff] |
drm: tegra: protect DC register access with mutex Window properties are programmed through a shared aperture and have to happen atomically. Also we do the read-update-write dance on some of the shared regs. To make sure that different functions don't stumble over each other protect the register access with a mutex. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Dave Airlie <airlied@redhat.com>