1. 14 6月, 2012 3 次提交
    • J
      PTY: add tty_port · d03702a2
      Jiri Slaby 提交于
      This has *no* function in the PTY driver yet. However as the tty
      buffers will move to the tty_port structure, we will need tty_port for
      all TTYs in the system, PTY inclusive.
      
      For PTYs this is ensured by allocating 2 tty_port's in pty_install,
      i.e. where the tty->link is allocated. Both tty_port's are properly
      assigned to each end of the tty.
      
      Freeing is done at the same place where tty is freed, i.e. in
      tty->ops->cleanup.
      
      This means BTW that tty_port does not outlive TTY in PTY. This might
      be a subject to change in the future if we see some problems.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d03702a2
    • J
      PTY: merge pty_install implementations · 5d249bc6
      Jiri Slaby 提交于
      There are currently two instances of code which handles PTY install.
      One for the legacy BSD PTY's, one for unix98's PTY's. Both of them are
      very similar and differ only in termios allocation and handling.
      
      Since we will need to allocate a tty_port at that place, this would
      require editing two places with the same pattern. Instead, let us move
      the implementation to one common place and call it from both places.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5d249bc6
    • J
      PTY: remove one empty ops->remove · 7171604a
      Jiri Slaby 提交于
      Currently, there are two as a left-over from previous patches.
      Although we really need to provide an empty handler, we do not need
      two. So remove one of them.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7171604a
  2. 13 6月, 2012 12 次提交
  3. 09 6月, 2012 1 次提交
    • L
      Revert "drm/i915/crt: Do not rely upon the HPD presence pin" · 8f53369b
      Linus Torvalds 提交于
      This reverts commit 9e612a00.
      
      It incorrectly finds VGA connectors where none are attached, apparently
      not noticing that nothing replied to the EDID queries, and happily using
      the default EDID modes that have nothing to do with actual hardware.
      
      That in turn then causes X to fall down to the lowest common
      denominator, which is usually the default 1024x768 mode that is in the
      default EDID and pretty much anything supports).
      
      I'd suggest that if not relying on the HDP pin, the code should at least
      check whether it gets valid EDID data back, rather than just assume
      there's something on the VGA connector.
      
      Cc: Dave Airlie <airlied@linux.ie>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8f53369b
  4. 08 6月, 2012 1 次提交
  5. 07 6月, 2012 5 次提交
  6. 06 6月, 2012 2 次提交
  7. 05 6月, 2012 14 次提交
  8. 04 6月, 2012 2 次提交