diff options
author | Thierry Reding <treding@nvidia.com> | 2013-11-08 13:24:28 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-12-19 09:29:51 +0100 |
commit | 18b94f1cfbbb65cae3260d41c82149bc62b96e68 (patch) | |
tree | ecbbe4bf327e64ab1d2d28e445156ec834335cb7 /drivers/gpu/host1x/hw/hw_host1x02_uclass.h | |
parent | fae798a156f84d0d835b5d18480abbcad902fe0e (diff) |
gpu: host1x: Use the correct HW headers for host1x02
An earlier patch added a subset of the required HW specific header files
but didn't actually include the right ones when compiling for host1x02.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/hw/hw_host1x02_uclass.h')
-rw-r--r-- | drivers/gpu/host1x/hw/hw_host1x02_uclass.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/hw/hw_host1x02_uclass.h b/drivers/gpu/host1x/hw/hw_host1x02_uclass.h index a3b3c9874413..028e49d9bac9 100644 --- a/drivers/gpu/host1x/hw/hw_host1x02_uclass.h +++ b/drivers/gpu/host1x/hw/hw_host1x02_uclass.h @@ -111,6 +111,12 @@ static inline u32 host1x_uclass_wait_syncpt_base_offset_f(u32 v) } #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_OFFSET_F(v) \ host1x_uclass_wait_syncpt_base_offset_f(v) +static inline u32 host1x_uclass_load_syncpt_base_r(void) +{ + return 0xb; +} +#define HOST1X_UCLASS_LOAD_SYNCPT_BASE \ + host1x_uclass_load_syncpt_base_r() static inline u32 host1x_uclass_load_syncpt_base_base_indx_f(u32 v) { return (v & 0xff) << 24; |