Re: [PATCH v2] drm/amd/display: Use oriented source size when checking cursor scaling

2021-12-02 Thread Vlad Zahorodnii
On 12/2/21 16:54, Kazlauskas, Nicholas wrote: On 2021-12-02 7:52 a.m., Vlad Zahorodnii wrote: dm_check_crtc_cursor() doesn't take into account plane transforms when calculating plane scaling, this can result in false positives. For example, if there's an output with resolution 3840x2160 and the

Re: [PATCH v2] drm/amd/display: Use oriented source size when checking cursor scaling

2021-12-02 Thread Alex Deucher
Applied. thanks! Alex On Thu, Dec 2, 2021 at 10:09 AM Kazlauskas, Nicholas wrote: > > On 2021-12-02 7:52 a.m., Vlad Zahorodnii wrote: > > dm_check_crtc_cursor() doesn't take into account plane transforms when > > calculating plane scaling, this can result in false positives. > > > > For example

Re: [PATCH v2] drm/amd/display: Use oriented source size when checking cursor scaling

2021-12-02 Thread Kazlauskas, Nicholas
On 2021-12-02 7:52 a.m., Vlad Zahorodnii wrote: dm_check_crtc_cursor() doesn't take into account plane transforms when calculating plane scaling, this can result in false positives. For example, if there's an output with resolution 3840x2160 and the output is rotated 90 degrees, CRTC_W and CRTC_

[PATCH v2] drm/amd/display: Use oriented source size when checking cursor scaling

2021-12-02 Thread Vlad Zahorodnii
dm_check_crtc_cursor() doesn't take into account plane transforms when calculating plane scaling, this can result in false positives. For example, if there's an output with resolution 3840x2160 and the output is rotated 90 degrees, CRTC_W and CRTC_H will be 3840 and 2160, respectively, but SRC_W a