Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adafruit/adafruit-raspberrypi-linux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: rpi-4.9.y
Choose a base ref
...
head repository: wziard/adafruit-raspberrypi-linux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: rpi-4.9.y
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Nov 28, 2017

  1. fbtft: Add a sysfs parameter to set the vertical scrolling position o…

    …n a window.
    
    Add a sysfs param scroll_pos which sets the scanline where the display
    starts for 'rolling scrolling'. This needs support from the specific
    display driver as well. When supported it can be used to implement smooth
    vertical (when the display is in portrait mode) hor horizontal (when the
    display is used in landscape mode) scrolling by strategically changing the
    start scanline of the display and erasing/redrawing only the wrapping part.
    This way you never need to redraw what's already there, preventing slow
    full screen redraws over spi.
    Martijn Versteegh authored and Martijn Versteegh committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    66c0930 View commit details
    Browse the repository at this point in the history
  2. fbtft: Implement the scroll_pos sysfs param for the HX8357D fbtft dri…

    …ver.
    Martijn Versteegh authored and Martijn Versteegh committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    4a6fd8d View commit details
    Browse the repository at this point in the history

Commits on May 5, 2018

  1. Don't write to tft registers from sysfs store handler.

    Writing to registers of the device directly from the sysfs store handler
    leads to race conditions with updating the screen. Just set the variable
    and update the scroll pos from the next update_display call.
    
    This means the scrolling might not actually happen until you draw something
    to the screen. But as scrolling without drawing a new scanline is not very
    useful anyway this is a minor annoyance.
    Martijn Versteegh authored and Martijn Versteegh committed May 5, 2018
    Configuration menu
    Copy the full SHA
    d57f300 View commit details
    Browse the repository at this point in the history
Loading