lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7d42e3c576181ce0d47cefeab845c3d80a3967b9.camel@mediatek.com>
Date:   Mon, 20 Nov 2023 05:54:40 +0000
From:   Shawn Sung (宋孝謙) 
        <Shawn.Sung@...iatek.com>
To:     CK Hu (胡俊光) <ck.hu@...iatek.com>,
        "seanpaul@...omium.org" <seanpaul@...omium.org>,
        "angelogioacchino.delregno@...labora.com" 
        <angelogioacchino.delregno@...labora.com>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-mediatek@...ts.infradead.org" 
        <linux-mediatek@...ts.infradead.org>,
        "chunkuang.hu@...nel.org" <chunkuang.hu@...nel.org>,
        "daniel@...ll.ch" <daniel@...ll.ch>,
        "p.zabel@...gutronix.de" <p.zabel@...gutronix.de>,
        "dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
        "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>,
        "airlied@...il.com" <airlied@...il.com>,
        "matthias.bgg@...il.com" <matthias.bgg@...il.com>
Subject: Re: [PATCH v2 1/1] drm/mediatek: Fix errors when reporting rotation
 capability

Hi CK,

Yes, atomic commit can still work without rotation property in planes,
it only affects IGT's behavior (will fail). Since currently we didn't
receive IGT requests on platforms other than MT8188, will return 0
directly if the property is not defined. Thanks.

Regards,
Shawn

On Mon, 2023-11-06 at 05:55 +0000, CK Hu (胡俊光) wrote:
> Hi, Hsiao-chien:
> 
> On Mon, 2023-10-30 at 17:03 +0800, Hsiao Chien Sung wrote:
> > For CRTCs that doesn't support rotation should still return
> > DRM_MODE_ROTATE_0. Returns hardware capabilities accordingly.
> 
> The original code would not call drm_plane_create_rotation_property()
> to create rotation property if CRTC does not support rotation. I
> think
> this behavior is OK because not all drm driver call
> drm_plane_create_rotation_property() and it works. So ovl adaptor is
> not necessary to implement supported_rotations() callback function.
> If
> some OVL does not support rotation, you could return 0 directly.
> 
> Regards,
> CK
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ