Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion drivers/gpu/drm/apple/dcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -9119,6 +9119,12 @@ static int dcp_platform_probe_pipe(struct platform_device *pdev)
return ret;
dcp->hw = *(struct apple_dcp_hw_data *)of_device_get_match_data(dev);
dcp_apply_dt_profile(dcp);
/*
* v27_early_stop's layout has no DART streams: firmware 26.6's sleep takes
* them from its own (dcp_v26_find_darts()).
*/
if (dcp->hw.v27_early_stop && fw_compat != DCP_FIRMWARE_V_27_0)
dcp->hw.s2r_layout = NULL;
/* The link report: on the board it has run on (dcp_j714s_ext()). */
if (!dcp_j714s_ext(dev))
dcp->hw.link_report = false;
Expand All @@ -9144,6 +9150,8 @@ static int dcp_platform_probe_pipe(struct platform_device *pdev)
dcp->hw.num_dptx_ports = 2;
dcp->hw.fw_14_7_endpoints = false;
dcp->hw.adopt_live_session = false;
/* Its stop and start are this firmware's, not 14.7's or 26.6's. */
dcp->hw.s2r_ext = true;
}
if (fw_compat == DCP_FIRMWARE_V_27_0 &&
of_device_is_compatible(dev->of_node, "apple,t6041-dcpext")) {
Expand Down Expand Up @@ -13042,7 +13050,7 @@ static const struct apple_dcp_hw_data apple_dcp_hw_t8122_dcpext = {
.external_processor = true,
.num_dptx_ports = 2,
.fw_14_7_endpoints = true,
.s2r_ext = true,
/* For firmware 27's s2r_ext, see dcp_platform_probe_pipe(). */
.s2r_no_secure_port = true,
.s2r_disp_dart_with_dcp = true,
.s2r_layout = &dcp_s2r_t8122_ext,
Expand Down
2 changes: 1 addition & 1 deletion drivers/pmdomain/apple/pmp-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -3331,7 +3331,7 @@ int apple_pmp_report_entry_request(const struct device_node *entry, bool enable)
EXPORT_SYMBOL_GPL(apple_pmp_report_entry_request);

/*
* After a T6030 wake vote, require live READY, target and acknowledge
* After a T6030 or T8122 wake vote, require live READY, target and acknowledge
* before starting its firmware. The cold-start supplier wait needs only
* READY and acknowledge.
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/soc/apple/sleep-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ static void apple_sleep_test_slp_ddr_voters(struct kunit *test)
apple_sleep_usb_slp_ddr(true);
KUNIT_EXPECT_EQ(test, st->fake_wake, 0xdead0000U);

/* Only T8112 and T8122 enable coprocessor SLP_DDR votes among matched profiles. */
/* Only T8112 enables coprocessor SLP_DDR votes among matched profiles. */
for (const struct of_device_id *id = apple_sleep_of_match; id->compatible[0]; id++) {
const struct apple_sleep_soc *soc = id->data;
bool want = !strcmp(id->compatible, "apple,t8112-sleep");
Expand Down
Loading