1. 27 1月, 2015 7 次提交
  2. 06 6月, 2014 1 次提交
  3. 12 2月, 2014 1 次提交
  4. 14 1月, 2014 1 次提交
    • T
      drm/tegra: Fix possible CRTC mask for RGB outputs · 456ac56b
      Thierry Reding 提交于
      The mask of possible CRTCs that an output (DRM encoder) can be attached
      to is relative to the position within the DRM device's list of CRTCs.
      Deferred probing can cause this to not match the pipe number associated
      with a CRTC. Use the newly introduced drm_crtc_mask() to compute the
      mask by looking up the proper index of the given CRTC in the list.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      456ac56b
  5. 20 12月, 2013 1 次提交
  6. 03 12月, 2013 1 次提交
    • T
      drm/tegra: Tightly bind RGB output to DC · 7602fa1d
      Thierry Reding 提交于
      Previously the association to a DC was done via the encoder's .crtc
      field. That has the disadvantage that when an encoder is detached from
      its CRTC, that field is set to NULL, leading to situations where it is
      impossible to access the DC registers required by the RGB output.
      
      However, the coupling between DC and RGB output is really fixed on
      Tegra. While they can be detached logically in DRM, the RGB output can
      rely on the DC's existence.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      7602fa1d
  7. 31 10月, 2013 3 次提交
    • T
      drm/tegra: Allocate resources at probe time · 59d29c0e
      Thierry Reding 提交于
      Since the .init() and .exit() functions are executed whenever the DRM
      driver is loaded or unloaded, care must be taken not to use them for
      resource allocation. Otherwise deferred probing cannot be used, since
      the .init() and .exit() are not run at probe time. Similarly the code
      that frees resources must be run at .remove() time. If it is run from
      the .exit() function, it can release resources multiple times.
      
      To handle this more consistently, rename the tegra_output_parse_dt()
      function to tegra_output_probe() and introduce tegra_output_remove()
      which can be used to free output-related resources.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      59d29c0e
    • T
      drm/tegra: Move driver to DRM tree · dee8268f
      Thierry Reding 提交于
      In order to make subsystem-wide changes easier, move the Tegra DRM
      driver back into the DRM tree.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      dee8268f
    • T
      gpu: host1x: Cleanup includes · 9eb9b220
      Thierry Reding 提交于
      Most of the included files are either not required or already included
      by some other header file.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      9eb9b220
  8. 03 9月, 2013 1 次提交
    • T
      drm/tegra: Parse device tree earlier · 03da0e7b
      Thierry Reding 提交于
      Parsing the device tree may cause probing to be deferred. Doing this as
      early as possible prevents any other resources from being requested and
      enabled, therefore reducing the need to cleanup on deferred probe while
      at the same time not wasting precious CPU cycles determining if probing
      needs to be deferred or not.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      03da0e7b
  9. 22 4月, 2013 1 次提交
  10. 20 11月, 2012 1 次提交