Merge drm/drm-next into drm-intel-next
Sync with v6.11-rc1 in general, and specifically get the new BACKLIGHT_POWER_ constants for power states. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -171,7 +171,7 @@ write_ggtt_rotated(struct xe_bo *bo, struct xe_ggtt *ggtt, u32 *ggtt_ofs, u32 bo
|
||||
u64 pte = ggtt->pt_ops->pte_encode_bo(bo, src_idx * XE_PAGE_SIZE,
|
||||
xe->pat.idx[XE_CACHE_NONE]);
|
||||
|
||||
xe_ggtt_set_pte(ggtt, *ggtt_ofs, pte);
|
||||
ggtt->pt_ops->ggtt_set_pte(ggtt, *ggtt_ofs, pte);
|
||||
*ggtt_ofs += XE_PAGE_SIZE;
|
||||
src_idx -= src_stride;
|
||||
}
|
||||
@@ -217,7 +217,7 @@ static int __xe_pin_fb_vma_ggtt(const struct intel_framebuffer *fb,
|
||||
u64 pte = ggtt->pt_ops->pte_encode_bo(bo, x,
|
||||
xe->pat.idx[XE_CACHE_NONE]);
|
||||
|
||||
xe_ggtt_set_pte(ggtt, vma->node.start + x, pte);
|
||||
ggtt->pt_ops->ggtt_set_pte(ggtt, vma->node.start + x, pte);
|
||||
}
|
||||
} else {
|
||||
u32 i, ggtt_ofs;
|
||||
|
||||
@@ -164,12 +164,16 @@ void intel_hdcp_gsc_fini(struct xe_device *xe)
|
||||
{
|
||||
struct intel_hdcp_gsc_message *hdcp_message =
|
||||
xe->display.hdcp.hdcp_message;
|
||||
struct i915_hdcp_arbiter *arb = xe->display.hdcp.arbiter;
|
||||
|
||||
if (!hdcp_message)
|
||||
return;
|
||||
if (hdcp_message) {
|
||||
xe_bo_unpin_map_no_vm(hdcp_message->hdcp_bo);
|
||||
kfree(hdcp_message);
|
||||
xe->display.hdcp.hdcp_message = NULL;
|
||||
}
|
||||
|
||||
xe_bo_unpin_map_no_vm(hdcp_message->hdcp_bo);
|
||||
kfree(hdcp_message);
|
||||
kfree(arb);
|
||||
xe->display.hdcp.arbiter = NULL;
|
||||
}
|
||||
|
||||
static int xe_gsc_send_sync(struct xe_device *xe,
|
||||
|
||||
Reference in New Issue
Block a user