mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
drm/i915: remove unused HAS_BROKEN_CS_TLB()
The last users have been removed years ago. Finish the job. Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240731110744.1572240-1-jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
4da409ba64
commit
688c43dd6c
@ -678,9 +678,6 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
|
||||
((sizes) & ~RUNTIME_INFO(i915)->page_sizes) == 0; \
|
||||
})
|
||||
|
||||
/* Early gen2 have a totally busted CS tlb and require pinned batches. */
|
||||
#define HAS_BROKEN_CS_TLB(i915) (IS_I830(i915) || IS_I845G(i915))
|
||||
|
||||
#define NEEDS_RC6_CTX_CORRUPTION_WA(i915) \
|
||||
(IS_BROADWELL(i915) || GRAPHICS_VER(i915) == 9)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user