[Intel-gfx] [PATCH 1/3] drm/atomic: Make disable_all helper fully disable the crtc.
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Thu Feb 23 20:10:00 UTC 2017
Op 23-02-17 om 16:03 schreef Sean Paul:
> On Tue, Feb 21, 2017 at 02:51:40PM +0100, Maarten Lankhorst wrote:
>> It seems that nouveau requires this, so best to do this in the helper.
>> This allows nouveau to use the atomic suspend helper.
> Pardon the stupid question, but why can't nouveau just do the right thing when
> crtc_state->active becomes false?
This patch is also required to clean up a connector leak in i915 driver unload as well, and also to clean up plane state destruction there. Nouveau needs it to unpin some framebuffers during suspend, but even if none of this was true, this is the right way to handle disable_all.
Looking at DPMS is fragile.
More information about the Intel-gfx
mailing list