]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915/psr: Add defininitions for INTEL_WA_REGISTER_CAPS DPCD register
authorJouni Högander <jouni.hogander@intel.com>
Fri, 15 May 2026 09:57:53 +0000 (12:57 +0300)
committerTvrtko Ursulin <tursulin@ursulin.net>
Tue, 19 May 2026 07:02:56 +0000 (08:02 +0100)
commitfbceb39b536e40c2f7cc47ab42037bb7c2b7ced9
treef19438b7ab9be3d0770ea59a6ec6079991c498c5
parentf87abd0c6604fb6cc31cc86fc7ccc6a576924352
drm/i915/psr: Add defininitions for INTEL_WA_REGISTER_CAPS DPCD register

EDP specification says:

"If either VSC SDP is unable to be transmitted 100 ns before the SU region,
the Source device may optionally transmit the VSC SDP during the prior
video scan line’s HBlank period There is a Intel specific drm dp register
currently containing bits related how TCON can support PSR2 with SDP on
prior line."

Unfortunately many panels are having problems in implementing this. So
there is a custom Intel specific DPCD register (INTEL_WA_REGISTER_CAPS) to
figure out if this is properly implemented on a panel or if panel doesn't
require that 100 ns delay before the SU region. Here are the definitions in
this custom DPCD address:

0 = Panel doesn't support SDP on prior line
1 = Panel supports SDP on prior line
2 = Panel doesn't have 100ns requirement
3 = Reserved

Add definitions for this new register and it's values into new header
intel_dpcd.h.

v2: add INTEL_DPCD_ prefix to definitions

Bspec: 74741
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260515095756.2799483-2-jouni.hogander@intel.com
(cherry picked from commit 1da1c9294825f08f622c473480d185680c2a3b75)
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
drivers/gpu/drm/i915/display/intel_dpcd.h [new file with mode: 0644]