# \[Patch v2\]\[ 03/37\] drm: Add the lacking DRM\_MODE\_FLAG\_\* for matching the DISPLAY\_FLAGS\_\*

- From: Denis Carikli \<hidden\>
- Date: 2013-10-23 14:48:51 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2013/10/8663572
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/10/8663051/t.md

```text
Hi,

On 10/18/2013 09:46 AM, Ville Syrj?l? wrote:
>> +#define DRM_MODE_FLAG_PDATEN			(1<<22)
>> +#define DRM_MODE_FLAG_NDATEN			(1<<23)
>> +#define DRM_MODE_FLAG_PPIXDATEDGE		(1<<24)
>> +#define DRM_MODE_FLAG_NPIXDATEDGE		(1<<25)
>
> Do we really need to make this stuff visible to userspace?
> And there's no documentation to explain any of it.

DRM_MODE_FLAG_PDATEN and DRM_MODE_FLAG_NDATEN were meant to represent 
the data enable polarity.

DRM_MODE_FLAG_PPIXDATEDGE and DRM_MODE_FLAG_NPIXDATEDGE were meant to 
represent the clock polarity.

What would you recommend to represent theses polarities?

Denis.
```
