mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
drm/i915/icl: Add Indirect Context Offset for Gen11
v2: rebased to intel_lr_indirect_ctx_offset v3: rebase, move define to intel_lrc_reg.h BSpec: 11740 Signed-off-by: Michel Thierry <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Signed-off-by: Michal Wajdeczko <[email protected]> Reviewed-by: Oscar Mateo <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Mika Kuoppala <[email protected]>
This commit is contained in:
committed by
Mika Kuoppala
parent
05f0addd9b
commit
fd034c77b5
@@ -2272,6 +2272,10 @@ static u32 intel_lr_indirect_ctx_offset(struct intel_engine_cs *engine)
|
||||
default:
|
||||
MISSING_CASE(INTEL_GEN(engine->i915));
|
||||
/* fall through */
|
||||
case 11:
|
||||
indirect_ctx_offset =
|
||||
GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
|
||||
break;
|
||||
case 10:
|
||||
indirect_ctx_offset =
|
||||
GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT;
|
||||
|
||||
@@ -63,5 +63,6 @@
|
||||
#define GEN8_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT 0x17
|
||||
#define GEN9_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT 0x26
|
||||
#define GEN10_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT 0x19
|
||||
#define GEN11_CTX_RCS_INDIRECT_CTX_OFFSET_DEFAULT 0x1A
|
||||
|
||||
#endif /* _INTEL_LRC_REG_H_ */
|
||||
|
||||
Reference in New Issue
Block a user