[igt-dev] [PATCH v2] tests/kms_atomic_transition: Enable Primary Plane on Enabling CRTC.
Petri Latvala
petri.latvala at intel.com
Thu Apr 22 06:13:13 UTC 2021
On Fri, Apr 16, 2021 at 01:27:24PM -0400, Mark Yacoub wrote:
> From: Mark Yacoub <markyacoub at google.com>
>
> Setup all plane params before committing anything.
> Do not disable Primary Plane whenever a CRTC is getting enabled.
>
> AMD Driver requires the primary plane to be enabled whenever the CRTC is, otherwise
> drm_mode_cursor_universal may end up trying to enable the cursor plane while all other
> planes are disabled, which is not supported by the hardware.
>
> === Changes from v1 ===
> Remove product names from commit message
>
> Cc: Nicholas.Kazlauskas at amd.com
> ---
> tests/kms_atomic_transition.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
I've asked Intel display folks to chime in whether i915 needs any of
this flow needs to be unchanged with is_i915_device(), no response
yet. We also need a word from someone to confirm that this patch does
what it says on the tin for amdgpu. Nicholas, are you able to get
someone to look at this?
--
Petri Latvala
More information about the igt-dev
mailing list