diff options
| author | Ville Syrjälä <[email protected]> | 2015-09-10 15:59:08 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2015-10-14 10:43:25 +0000 |
| commit | 0836e6d8c47416d6eb60bb68a5d7213c0c2d0d29 (patch) | |
| tree | a066126c44f35c23136935fd5c03cfb4ddb94008 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/i915: Assign hwmode after encoder state readout (diff) | |
| download | kernel-0836e6d8c47416d6eb60bb68a5d7213c0c2d0d29.tar.gz kernel-0836e6d8c47416d6eb60bb68a5d7213c0c2d0d29.zip | |
drm/i915: Move sprite/cursor plane disable to intel_sanitize_crtc()
Move the sprite/cursor plane disabling to occur in intel_sanitize_crtc()
where it belongs instead of doing it in intel_modeset_readout_hw_state().
The plane disabling was first added in
4cf0ebbd4fafbdf8e6431dbb315e5511c3efdc3b drm/i915: Rework plane readout.
I got the idea from some patches from Partik and/or Maarten but those
moved also the plane state readout to intel_sanitize_crtc() which isn't
quite right in my opinion.
Cc: Maarten Lankhorst <[email protected]>
Cc: Patrik Jakobsson <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
References: https://bugs.freedesktop.org/show_bug.cgi?id=91910
Reviewed-by: Patrik Jakobsson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
[Jani: cherry-picked from -next to v4.3]
Acked-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
