drm: Add DP PSR2 sink enable bit
authorjsg <jsg@openbsd.org>
Mon, 20 Aug 2018 02:23:31 +0000 (02:23 +0000)
committerjsg <jsg@openbsd.org>
Mon, 20 Aug 2018 02:23:31 +0000 (02:23 +0000)
From Jose Roberto de Souza
5a3d1d67b3548e9dc1572c87527fa35b309feb0b in linux 4.4.y/4.4.146
4f212e40468650e220c1770876c7f25b8e0c1ff5 in mainline linux

sys/dev/pci/drm/drm_dp_helper.h

index 44e719d..0554072 100644 (file)
 # define DP_PSR_FRAME_CAPTURE              (1 << 3)
 # define DP_PSR_SELECTIVE_UPDATE           (1 << 4)
 # define DP_PSR_IRQ_HPD_WITH_CRC_ERRORS     (1 << 5)
+# define DP_PSR_ENABLE_PSR2                (1 << 6) /* eDP 1.4a */
 
 #define DP_ADAPTER_CTRL                            0x1a0
 # define DP_ADAPTER_CTRL_FORCE_LOAD_SENSE   (1 << 0)