summaryrefslogtreecommitdiff
path: root/drivers/memory
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-10-22 13:32:56 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-10-27 13:59:07 +0300
commit765972cb8564fb92f8cef6fac21995907d132e8c (patch)
treeb3466e28548d7665ea20714bd6fdd15f03ccdb4b /drivers/memory
parentf0e204e0d32159d783577a4041331fbe49e8beca (diff)
drm/i915/psr: Disable PSR before modesets turn off all planes
PSR2 apparently requires some planes to be enabled for some silly reason, and so we are now trying to turn PSR off before planes go off. Except during a full modeset that is handled less clearly through reorganization of the modeset sequence. That is not great as it makes the code mode complex, and prevents us from doing nice things such as just turning off all the planes at the very start of the modeset. So let's move the PSR pre_plane_update() thing to a spot where it will handle both full modesets and everything else. Cc: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211022103304.24164-2-ville.syrjala@linux.intel.com Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions