-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Kindle screen refresh experiments... #198
Merged
Merged
Conversation
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
Yay if I make everything go 'splodey!
Merge w/ latest Touch kernel (5.3.7.1).
Frankenstein the PW2 version (5.4.3.2) in...
Use the same temp flag as Amazon on Touch devices.
By checking waitpid's return value properly.
chrox
added a commit
that referenced
this pull request
Jul 6, 2014
Some Kindle screen refresh experiments...
refarea[0].flags = 0 | ||
-- NOTE: related to EPDC_FLAG_USE_ALT_BUFFER? | ||
refarea[0].alt_buffer_data.phys_addr = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according to:
/*
* Are we using FB or an alternate (overlay)
* buffer for source of update?
*/
if (upd_data->flags & EPDC_FLAG_USE_ALT_BUFFER) {
src_width = upd_data->alt_buffer_data.width;
src_height = upd_data->alt_buffer_data.height;
src_upd_region = &upd_data->alt_buffer_data.alt_update_region;
} else {
src_width = fb_data->epdc_fb_var.xres_virtual;
src_height = fb_data->epdc_fb_var.yres;
src_upd_region = &upd_data->update_region;
}
and
if (upd_data->flags & EPDC_FLAG_USE_ALT_BUFFER) {
sg_dma_address(&fb_data->sg[0]) =
upd_data->alt_buffer_data.phys_addr + pxp_input_offs;
} else {
sg_dma_address(&fb_data->sg[0]) =
fb_data->info.fix.smem_start + fb_data->fb_offset + pxp_input_offs;
sg_set_page(&fb_data->sg[0],
virt_to_page(fb_data->info.screen_base),
fb_data->info.fix.smem_len,
offset_in_page(fb_data->info.screen_base));
}
Yes.
@houqp : Hah, thanks :). From a practical standpoint, what would that be used for? Cheaply compositing something on top of the current fb? |
I guess yes :P |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #550