mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
drm/i915/psr: Disable PSR2 on Xiaomi Book Pro 14 2026 as a quirk
Add new quirk (QUIRK_DISABLE_PSR2) for disabling PSR2 as a quirk for problematic setups. Apply this newly added quirk on Xiaomi Book Pro 14 2026. v2: logging adjusted Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7677 Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com> Link: https://patch.msgid.link/20260417102350.28328-1-jouni.hogander@intel.com
This commit is contained in:
parent
cb8d155b08
commit
5e79af5db0
|
|
@ -695,6 +695,9 @@ static void _psr_init_dpcd(struct intel_dp *intel_dp, struct intel_connector *co
|
|||
|
||||
connector->dp.psr_caps.sync_latency = intel_dp_get_sink_sync_latency(intel_dp);
|
||||
|
||||
if (intel_has_quirk(display, QUIRK_DISABLE_PSR2))
|
||||
return;
|
||||
|
||||
if (DISPLAY_VER(display) >= 9 &&
|
||||
connector->dp.psr_caps.dpcd[0] >= DP_PSR2_WITH_Y_COORD_IS_SUPPORTED) {
|
||||
bool y_req = connector->dp.psr_caps.dpcd[1] &
|
||||
|
|
|
|||
|
|
@ -94,6 +94,12 @@ static void quirk_disable_edp_panel_replay(struct intel_dp *intel_dp)
|
|||
drm_info(display->drm, "Applying disable Panel Replay quirk\n");
|
||||
}
|
||||
|
||||
static void quirk_disable_psr2(struct intel_display *display)
|
||||
{
|
||||
intel_set_quirk(display, QUIRK_DISABLE_PSR2);
|
||||
drm_info(display->drm, "PSR2 support not currently available for this setup, applying disable PSR2 quirk\n");
|
||||
}
|
||||
|
||||
struct intel_quirk {
|
||||
int device;
|
||||
int subsystem_vendor;
|
||||
|
|
@ -250,6 +256,9 @@ static struct intel_quirk intel_quirks[] = {
|
|||
|
||||
/* Dell XPS 13 7390 2-in-1 */
|
||||
{ 0x8a52, 0x1028, 0x08b0, quirk_edp_limit_rate_hbr2 },
|
||||
|
||||
/* Xiaomi Book Pro 14 2026 */
|
||||
{ 0xb081, 0x1d72, 0x2424, quirk_disable_psr2 },
|
||||
};
|
||||
|
||||
static const struct intel_dpcd_quirk intel_dpcd_quirks[] = {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ enum intel_quirk_id {
|
|||
QUIRK_FW_SYNC_LEN,
|
||||
QUIRK_EDP_LIMIT_RATE_HBR2,
|
||||
QUIRK_DISABLE_EDP_PANEL_REPLAY,
|
||||
QUIRK_DISABLE_PSR2,
|
||||
};
|
||||
|
||||
void intel_init_quirks(struct intel_display *display);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user