Skip to content

Conversation

@rdoursenaud
Copy link

Commit ee9f6f4 contains a few fixes suggested by CLion static analysis.
Feel free to not include them if you don't feel like it.

Commit 53a17d2 contains the logic changes presented in #3 (comment).

@smclt30p
Copy link
Member

I will test this once I get home later today with my X220, It should work from the looks of it. Thanks for the PR! :)

@smclt30p
Copy link
Member

smclt30p commented Jan 17, 2018 via email

* Step 4: Apply the screen configuration
* Step 2: Parse the crtc configuration
* Step 3: Disable all crts
* Step 4: Resize the screen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The screen size must be set AFTER altering the crtc config in any way.

So disable configs, set screen size, enable configs, set screen size

@rdoursenaud
Copy link
Author

Yes, something's wrong even on my system.
It was a late night quick and dirty hack ;)
I'll try and have a better look ASAP.

@smclt30p
Copy link
Member

smclt30p commented Jan 31, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants