Message ID | 20240126210807.320671-3-juhapekka.heikkila@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Enable ccs compressed framebuffers on Xe2 | expand |
diff --git a/drivers/gpu/drm/xe/xe_bo_types.h b/drivers/gpu/drm/xe/xe_bo_types.h index 14ef13b7b421..ccf63058be66 100644 --- a/drivers/gpu/drm/xe/xe_bo_types.h +++ b/drivers/gpu/drm/xe/xe_bo_types.h @@ -91,6 +91,17 @@ struct xe_bo { /** @vram_userfault_link: Link into @mem_access.vram_userfault.list */ struct list_head vram_userfault_link; + + /** + * @pat_index: The pat index requested when bind this BO + */ + u16 pat_index; + + /** + * @pat_index_scanout: The pat index in use when pinning this BO + * as framebuffer. + */ + u16 pat_index_scanout; }; #define intel_bo_to_drm_bo(bo) (&(bo)->ttm.base)
Add BO bind time pat index member and framebuffer pin time pat index to xe_bo structure. Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> --- drivers/gpu/drm/xe/xe_bo_types.h | 11 +++++++++++ 1 file changed, 11 insertions(+)