Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Jun 25, 2019
  2. Jun 24, 2019
  3. Jun 21, 2019
    • Ayan Halder's avatar
      drm/komeda: Make Komeda interrupts shareable · 2cfb1981
      Ayan Halder authored
      
      Komeda interrupts may be shared with other hardware blocks.
      One needs to use devm_request_irq() with IRQF_SHARED to create a shared
       interrupt handler.
      As a result of not using drm_irq_install() api, one needs to set
      "(struct drm_device *)->irq_enabled = true/false" to enable/disable
      vblank interrupts.
      
      Changes from v1:-
      1. Squashed the following two patches into one (as the second patch is a
      consequence of the first one):-
         drm/komeda: Avoid using DRIVER_IRQ_SHARED
         drm/komeda: Enable/Disable vblank interrupts
      2. Fixed the commit message (as pointed by Daniel Vetter)
      3. Removed calls to 'drm_irq_uninstall()' as we are no longer using
      drm_irq_install()
      4. Removed the struct member 'komeda_kms_driver.irq_handler' as it is not
      used anywhere.
      
      Signed-off-by: default avatarAyan Halder <ayan.halder@arm.com>
      Signed-off-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
      2cfb1981
    • Arnd Bergmann's avatar
      drm/komeda: fix 32-bit komeda_crtc_update_clock_ratio · 0b044a99
      Arnd Bergmann authored
      clang points out a bug in the clock calculation on 32-bit, that leads
      to the clock_ratio always being zero:
      
      drivers/gpu/drm/arm/display/komeda/komeda_crtc.c:31:36: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
              aclk = komeda_calc_aclk(kcrtc_st) << 32;
      
      Move the shift into the division to make it apply on a 64-bit
      variable. Also use the more expensive div64_u64() instead of div_u64()
      to account for pxlclk being a 64-bit integer.
      
      Fixes: 1f7f9ab7
      
       ("drm/komeda: Add engine clock requirement check for the downscaling")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarJames Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
      Signed-off-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
      0b044a99
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2019-06-19' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 417f2544
      Dave Airlie authored
      
      Features:
      - HDR support (Uma, Ville)
      - Add I2C symlink under HDMI connector similar to DP (Oleg)
      - Add ICL multi-segmented gamma support (Shashank, Uma)
      - Update register whitelist support for new hardware (Robert, John)
      - GuC firmware update with updated ABI interface (Michal, Oscar)
      - Add support for new DMC header versions (Lucas)
      - In-kernel blitter client for selftest use (Matthew)
      - Add Mule Creec Canyon (MCC) PCH support to go with EHL (Matt)
      - EHL platform feature updates (Matt)
      - Use Command Transport Buffers with GuC on all gens (Daniele)
      - New i915.force_probe module parameter to replace i915.alpha_support (Jani)
      
      Refactoring:
      - Better runtime PM code abstraction/encapsulation (Daniele)
      - VBT parsing cleanup and improvements (Jani)
      - Move display code to its own subdirectory (Jani)
      - Header cleanup (Jani, Daniele)
      - Prep work for subsclice mask expansion (Stuart)
      - Use uncore mmio register accessors more, remove unused macro wrappers (Tvrtko)
      - Remove unused atomic property get/set stubs (Maarten)
      - GTT cleanups and improvements (Mika)
      - Pass intel_ types instead of drm_ types in plenty of display code (Ville)
      - Engine reset, hangcheck, fault code cleanups and improvements (Tvrtko)
      - Consider AML variants simply as either KBL or CFL ULX (Ville)
      - State checker cleanups and improvements (Ville)
      - GEM code reorganization to more files under gem subdirectory (Chris)
      - Reducing dependency on a coarse struct_mutex (Chris)
      
      Fixes:
      - Fix use of uninitialized/incorrect error pointers (Colin, Dan)
      - Fix DSI fastboot on some VLV/CHV platforms (Hans)
      - Fix DSI error path (Hans)
      - Add ICL port A combo PHY HW state check (Imre)
      - Fix ICL AUX-B HW not done issue (Imre)
      - Fix perf whitelist on gen10+ (Lionel)
      - Fix PSR exit by forcing manual exit on older gens (José)
      - Match voltage ranges instead of exact values (Lucas)
      - Fix SDVO HDMI audio, with cleanups (Ville)
      - Fix plane state dumps (Ville)
      - Fix driver cleanup code to support driver hot unbind (Janusz)
      - Add checks for ICL memory bandwidth requirements (Ville)
      - Fix toggling between no C8 planes vs. at least one C8 plane (Ville)
      - Improved checks on PLL usage conditions, refactoring (Ville)
      - Avoid clobbering M/N values in fastset fuzzy checks (Ville)
      - Take a runtime pm wakeref for atomic commits (Chris)
      - Do not allow runtime pm autosuspend to remove userspace GGTT mmaps too quickly (Chris)
      - Avoid refcount_inc on known zero count to avoid debug flagging (Chris)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/87v9x1lpdh.fsf@intel.com
      417f2544
  4. Jun 20, 2019
  5. Jun 19, 2019