-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm: Update logical input area size on property changes
In addition to setting the logical input area size during initialization in init_input(), also update the size in cog_drm_platform_set_property(). The code that picks the correct dimensions depending on the rotation is moved into its own function and reused in both locations.
- Loading branch information
Showing
1 changed file
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters