diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2014-02-11 10:48:46 +0800 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2014-09-30 12:21:03 +0100 |
commit | d2e4eb3619fa61013f7704f55d0516fb380ac49b (patch) | |
tree | 9ea0b15afb043d94ad67d84d8475c3601d3830c3 /lib/gen8_media.h | |
parent | 54465b8ac5d97560a27f04683448ab74b466a89a (diff) |
mediafill/skl: Follow spec to configure FORCE_MEDIA_AWAKE in PIPELINE_SELECTION
The FORCE_MEDIA_AWAKE bit is added for the PIPELINE_SELECTION command and
some instructions requires that the media enginee is awake.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib/gen8_media.h')
-rw-r--r-- | lib/gen8_media.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/gen8_media.h b/lib/gen8_media.h index d1df8b9d..f654215a 100644 --- a/lib/gen8_media.h +++ b/lib/gen8_media.h @@ -374,4 +374,11 @@ struct gen8_surface_state #define GEN9_PIPELINE_SELECTION_MASK (3 << 8) +/* If enabled, it will force awake media enginee and the following instructions + * will require that the media enginee is awake. + */ +#define GEN9_FORCE_MEDIA_AWAKE_DISABLE (0 << 5) +#define GEN9_FORCE_MEDIA_AWAKE_ENABLE (1 << 5) +#define GEN9_FORCE_MEDIA_AWAKE_MASK (1 << 13) + #endif /* GEN8_MEDIA_H */ |