Christopher Michael
2b8b27ef5e
ecore_drm2: Add API function to set display DPMS level
2023-03-08 10:42:47 -05:00
Christopher Michael
2ac01d0db7
ecore_drm2: Add API to enable/disable a display
2023-03-08 10:35:07 -05:00
Christopher Michael
0aecba7277
ecore_drm2: Change display_rotation_set to not return a value
...
As the actual changing of this property will now be 'atomic', we
cannot return a value here until After we try to apply the change so
remove the return type from the function
2023-03-08 10:29:56 -05:00
Christopher Michael
62f8ea49fa
ecore_drm2: Add enums for state changes
...
This patch adds some enums so we can more easily track what has
changed in each objects state. This will allow us to selectively apply
Only what has been changed in each object
2023-03-08 10:26:01 -05:00
Christopher Michael
57caf9a1bb
ecore_drm2: Move to using a current & pending state
...
Large patch that essentially moves all the code to use a current &
pending 'state' so that we can apply changes on vblank
2023-03-08 09:42:33 -05:00
Christopher Michael
5929cd7fa9
ecore_drm2: Add API function to return display rotation
2023-01-10 05:42:20 -05:00
Christopher Michael
4a8b57192a
ecore_drm2: Ensure display rotation value is filled in during
...
display_create
2023-01-09 11:45:37 -05:00
Christopher Michael
f85f6f5ad2
ecore_drm2: Add API to return display info
...
NB: This is unfinished !! Need to support rotations
2023-01-02 07:56:59 -05:00
Christopher Michael
7b19fbe81c
ecore_drm2: Add API to return list of displays
2023-01-02 07:36:23 -05:00
Christopher Michael
5664911df8
ecore_drm2: Add API to get/set if display is primary
2023-01-02 07:28:52 -05:00
Christopher Michael
cf2a325012
ecore_drm2: Add API to return display mode info
2023-01-02 07:25:44 -05:00
Christopher Michael
5278c54839
ecore_drm2: Add API to return display modes
2023-01-02 07:22:26 -05:00
Christopher Michael
28e9ef0ec0
ecore_drm2: Add API to return display edid
2023-01-02 07:20:03 -05:00
Christopher Michael
f02385bd09
ecore_drm2: Add API to return display crtc id
2023-01-02 06:47:57 -05:00
Christopher Michael
b8a257b7d6
ecore_drm2: Add API to return display enabled
2023-01-02 06:42:58 -05:00
Christopher Michael
3a635f0f98
ecore_drm2: Add API function to return dpms value
2022-12-14 06:17:28 -05:00
Christopher Michael
69ecb57c2b
ecore_drm2: Add API function to get display physical size
2022-12-13 06:41:48 -05:00
Christopher Michael
5574ab8707
ecore_drm2: Add API function to return display subpixel
2022-12-13 06:39:01 -05:00
Christopher Michael
7ce9125d1e
ecore_drm2: Add API function to return connector type
2022-12-13 06:36:44 -05:00
Christopher Michael
df5f13ea64
ecore_drm2: Add API to return if a display is connected
2022-12-07 08:21:07 -05:00
Christopher Michael
8f5f7773b3
ecore_drm2: Add API to return if a backlight exists on display
2022-12-07 08:19:06 -05:00
Christopher Michael
122298af42
ecore_drm2: Add API to return display model
2022-12-07 08:10:16 -05:00
Christopher Michael
defeaf1313
ecore_drm2: Add API to return display name
2022-12-07 08:08:34 -05:00
Christopher Michael
3d939077ca
ecore_drm2: Mark unused parameters
...
This will change in the future, but for now mark them as unused so we
can shut up the compiler
2022-12-07 07:24:36 -05:00
Christopher Michael
06960f71ca
ecore_drm2: Remove test API
...
This will get replaced with an actual API
2022-12-07 07:19:33 -05:00
Christopher Michael
e21afd5d1a
ecore_drm2: Cleanup explicit thread handling
...
There were cases where the thread queue was not being created, and
cases where the thread queue was not being cleaned up properly.
2022-12-03 08:54:42 -05:00
Christopher Michael
3cd26bcdc2
ecore_drm2: Remove ECORE_DRM2_THREAD_CODE_COMMIT op code
...
As a portion of the upcoming API will require sending return values
from called functions, we will not use threading for doing atomic
commits so there is no need for this op code.
2022-12-03 06:16:44 -05:00
Christopher Michael
2948265dc2
ecore_drm2: Add explicit thread support for Displays
2022-11-11 06:26:13 -05:00
Christopher Michael
b2535043dc
ecore_drm2: Add start of explicit threading for crtc state
...
NB: Pushing this so that the code is up there, but it is certainly
going to change shortly
2022-10-18 10:34:18 -04:00
Christopher Michael
ef070b7816
ecore_drm2: Add code to fill Display Modes
2022-09-23 09:16:42 -04:00
Christopher Michael
eb4940d94e
ecore_drm2: Rename some variables in the structures to avoid confusion
...
While I hate CamelCase, using drmCrtc, drmConn, etc makes it easier
when reading the code to distinguish what we are operating on/with.
2022-09-22 11:50:52 -04:00
Christopher Michael
1e2517cf07
ecore_drm2: Start on code to add Display Modes
2022-09-20 12:26:45 -04:00
Christopher Michael
aa64d0f37c
ecore_drm2: Add opaque structure for Ecore_Drm2_Display_Mode
2022-09-20 12:15:09 -04:00
Christopher Michael
adb95075fc
ecore_drm2: Add backlight support to Displays
2022-09-20 09:36:10 -04:00
Christopher Michael
5dffb60708
ecore_drm2: Add code to fill atomic state in threads for Crtcs, Connectors,
...
Displays, and Planes
2022-09-20 08:42:55 -04:00