Skip to content
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

For rob #1

Open
wants to merge 9 commits into
base: properties
Choose a base branch
from
Open

For rob #1

wants to merge 9 commits into from

Commits on Apr 11, 2012

  1. modetest: fix some compiler warnings

    Use unsigned int instead of int:
    - modetest.c:89:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    - modetest.c:97:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    - modetest.c:117:1: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    - modetest.c:772:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    
    The 'fd' variable is global, we don't need to pass it as an argument:
    - modetest.c:698:40: warning: unused parameter ‘fd’ [-Wunused-parameter]
    
    We don't use the 'modeset' variable:
    - modetest.c:725:8: warning: variable ‘modeset’ set but not used [-Wunused-but-set-variable]
    
    Signed-off-by: Paulo Zanoni <[email protected]>
    pzanoni-intel authored and Rob Clark committed Apr 11, 2012
    Configuration menu
    Copy the full SHA
    d4f6c59 View commit details
    Browse the repository at this point in the history
  2. modetest: fix memory leak

    Don't "continue" without freeing the connector.
    
    192 bytes in 6 blocks are indirectly lost in loss record 6 of 12
       at 0x4C2779D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
       by 0x4E30DD8: drmMalloc (xf86drm.c:147)
       by 0x4E35024: drmAllocCpy (xf86drmMode.c:73)
       by 0x4E35D69: drmModeGetConnector (xf86drmMode.c:507)
       by 0x402F22: dump_connectors (modetest.c:181)
       by 0x40261B: main (modetest.c:801)
    
    Signed-off-by: Paulo Zanoni <[email protected]>
    pzanoni-intel authored and Rob Clark committed Apr 11, 2012
    Configuration menu
    Copy the full SHA
    64d0a81 View commit details
    Browse the repository at this point in the history
  3. modetest: print more about our properties

    In the future we'll have more than just connector properties, so create
    a dump_prop function that can handle any property (instead of the
    current dump_props function that only handles connector properties).
    
    Also, make this function print a lot more information about the existing
    properties.
    
    Also change the printed indentation of the modes to make the output more
    readable.
    
    The previous function dump_props also segfaulted when we didn't have
    enought permissions. The new function does not segfault in this case (by
    checking for the return value of drmModeGetProperty).
    
    Signed-off-by: Paulo Zanoni <[email protected]>
    pzanoni-intel authored and Rob Clark committed Apr 11, 2012
    Configuration menu
    Copy the full SHA
    0fb1f7a View commit details
    Browse the repository at this point in the history
  4. Add support for generic object properties IOCTLs

    New library calls:
    - drmModeObjectGetProperties
    - drmModeFreeObjectProperties
    - drmModeObjectSetProperties
    
    Signed-off-by: Paulo Zanoni <[email protected]>
    pzanoni-intel authored and Rob Clark committed Apr 11, 2012
    Configuration menu
    Copy the full SHA
    968912f View commit details
    Browse the repository at this point in the history
  5. modetest: print CRTC properties

    Signed-off-by: Paulo Zanoni <[email protected]>
    pzanoni-intel authored and Rob Clark committed Apr 11, 2012
    Configuration menu
    Copy the full SHA
    b5c6019 View commit details
    Browse the repository at this point in the history
  6. Add support for bitmask properties

    Rob Clark committed Apr 11, 2012
    Configuration menu
    Copy the full SHA
    3647473 View commit details
    Browse the repository at this point in the history
  7. modetest: support bitmask properties

    Rob Clark committed Apr 11, 2012
    Configuration menu
    Copy the full SHA
    99afbcf View commit details
    Browse the repository at this point in the history
  8. modetest: support plane properties

    Rob Clark committed Apr 11, 2012
    Configuration menu
    Copy the full SHA
    a6c82f8 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2012

  1. Add omapdrm module to kmstest and vbltest

    Signed-off-by: Vincent Stehlé <[email protected]>
    Vincent Stehlé committed May 10, 2012
    Configuration menu
    Copy the full SHA
    64ed3d7 View commit details
    Browse the repository at this point in the history