diff options
author | Thierry Reding <treding@nvidia.com> | 2017-03-21 08:54:22 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-04-05 18:11:50 +0200 |
commit | b386c6b73ac6c2a9a2f1201d055ab65cc19890a2 (patch) | |
tree | c90708c4b2f53f04bd56f0f33c195e01ce486102 /drivers/gpu/host1x/dev.h | |
parent | 7e7d432c5a736e7106c8700b65d8c31b93bd1c82 (diff) | |
download | lwn-b386c6b73ac6c2a9a2f1201d055ab65cc19890a2.tar.gz lwn-b386c6b73ac6c2a9a2f1201d055ab65cc19890a2.zip |
gpu: host1x: Support module reset
Newer versions of Tegra come with early boot software that aggressively
puts various modules in reset. Add support to the host1x driver to take
the module out of reset on probe, and assert reset on removal.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/dev.h')
-rw-r--r-- | drivers/gpu/host1x/dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/dev.h b/drivers/gpu/host1x/dev.h index 561c5776cafb..229d08b6a45e 100644 --- a/drivers/gpu/host1x/dev.h +++ b/drivers/gpu/host1x/dev.h @@ -21,6 +21,7 @@ #include <linux/iommu.h> #include <linux/iova.h> #include <linux/platform_device.h> +#include <linux/reset.h> #include "cdma.h" #include "channel.h" @@ -109,6 +110,7 @@ struct host1x { struct host1x_syncpt_base *bases; struct device *dev; struct clk *clk; + struct reset_control *rst; struct iommu_domain *domain; struct iova_domain iova; |