Skip to content
  1. Feb 16, 2018
  2. Feb 15, 2018
    • Jani Nikula's avatar
      drm/i915/audio: fix check for av_enc_map overflow · cdb3db85
      Jani Nikula authored
      Turns out -1 >= ARRAY_SIZE() is always true. Move the bounds check where
      we know pipe >= 0 and next to the array indexing where it makes most
      sense.
      
      Fixes: 9965db26 ("drm/i915: Check for fused or unused pipes")
      Fixes: 0b7029b7
      
       ("drm/i915: Check for fused or unused pipes")
      Cc: <stable@vger.kernel.org> # v4.10+
      Cc: Mika Kahola <mika.kahola@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: intel-gfx@lists.freedesktop.org
      Reviewed-by: default avatarDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
      Reviewed-by: default avatarMika Kahola <mika.kahola@intel.com>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214173840.25360-1-jani.nikula@intel.com
      cdb3db85
    • Rodrigo Vivi's avatar
      drm/i915/cnl: Remove alpha_support protection · ccf74400
      Rodrigo Vivi authored
      
      
      We now have a stable cnl on our CI and it seems mostly
      green without big risks of blank screen or anything
      blowing up on linux installations in the future.
      
      As a reminder i915.alpha_support was created to protect
      future linux installation's iso images that might contain a
      kernel from the enabling time of the new platform. Without this
      protection most of linux installation was recommending
      nomodeset option during installation that was getting stick
      there after installation.
      
      Specifically, alpha support says nothing about the development
      state of the hardware, and everything about the state of the
      driver in a kernel release.
      
      This is semantically no different from the old
      preliminary_hw_support flag, but the old one was all too often
      interpreted as (preliminary hw) support instead of the intended
      (preliminary) hw support, and it was misleading for everyone.
      Hence the rename.
      
      v2: Fix the typos and include more history about the parameter
      rename on commit message. (Jani)
      
      Reference: https://intel-gfx-ci.01.org/tree/drm-tip/fi-cnl-y3.html
      Cc: James Ausmus <james.ausmus@intel.com>
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Cc: Jani Saarinen <jani.saarinen@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214204205.4446-1-rodrigo.vivi@intel.com
      ccf74400
    • Rodrigo Vivi's avatar
      drm/i915/cnl: Sync PCI ID with Spec. · e3890d05
      Rodrigo Vivi authored
      
      
      Add one missing PCI ID and sort them in a way
      that gets easier to review and compare against spec's
      table.
      
      When trying to sync libdrm and mesa id list with kernel
      and spec I noticed something was wrong and we were missing
      a pci id. So to make our lives easier when checking against
      spec let's simplify and sort like spec does.
      
      BSpec: 13621
      
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Cc: James Ausmus <james.ausmus@intel.com>
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: default avatarJames Ausmus <james.ausmus@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180208073219.27860-1-rodrigo.vivi@intel.com
      e3890d05
    • Daniele Ceraolo Spurio's avatar
      drm/i915: Fix rsvd2 mask when out-fence is returned · b6a88e4a
      Daniele Ceraolo Spurio authored
      GENMASK_ULL wants the high bit of the mask first. The current value
      cancels the in-fence when an out-fence is returned.
      
      Fixes: fec0445c
      
       ("drm/i915: Support explicit fencing for execbuf")
      Testcase: igt/gem_exec_fence/keep-in-fence*
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214191827.8465-1-daniele.ceraolospurio@intel.com
      Cc: <stable@vger.kernel.org> # v4.12+
      b6a88e4a
  3. Feb 14, 2018
    • Chris Wilson's avatar
      drm/i915: Fixup kerneldoc for intel_pm.c · 31383410
      Chris Wilson authored
      
      
      drivers/gpu/drm/i915/intel_pm.c:750: warning: Function parameter or member 'fifo_size' not described in 'intel_calculate_wm'
      drivers/gpu/drm/i915/intel_pm.c:5900: warning: Function parameter or member 'crtc' not described in 'intel_update_watermarks'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214140303.1561-1-chris@chris-wilson.co.uk
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      31383410
    • Chris Wilson's avatar
      drm/i915: Fixup kerneldoc · c38c1455
      Chris Wilson authored
      
      
      drivers/gpu/drm/i915/intel_display.c:569: warning: Function parameter or member 'dev_priv' not described in 'intel_PLL_is_valid'
      drivers/gpu/drm/i915/intel_display.c:569: warning: Function parameter or member 'limit' not described in 'intel_PLL_is_valid'
      drivers/gpu/drm/i915/intel_display.c:569: warning: Function parameter or member 'clock' not described in 'intel_PLL_is_valid'
      drivers/gpu/drm/i915/intel_display.c:4769: warning: Function parameter or member 'crtc_state' not described in 'skl_update_scaler_plane'
      drivers/gpu/drm/i915/intel_display.c:4769: warning: Excess function parameter 'state' description in 'skl_update_scaler_plane'
      drivers/gpu/drm/i915/intel_display.c:4967: warning: Function parameter or member 'new_crtc_state' not described in 'intel_post_enable_primary'
      drivers/gpu/drm/i915/intel_display.c:12650: warning: Function parameter or member 'new_state' not described in 'intel_prepare_plane_fb'
      drivers/gpu/drm/i915/intel_display.c:12650: warning: Excess function parameter 'fb' description in 'intel_prepare_plane_fb'
      drivers/gpu/drm/i915/intel_display.c:12763: warning: Function parameter or member 'old_state' not described in 'intel_cleanup_plane_fb'
      drivers/gpu/drm/i915/intel_display.c:12763: warning: Excess function parameter 'fb' description in 'intel_cleanup_plane_fb'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214134922.28761-2-chris@chris-wilson.co.uk
      c38c1455
    • Chris Wilson's avatar
      drm/i915/atomic: Fixup kerneldoc · eac95c4e
      Chris Wilson authored
      
      
      drivers/gpu/drm/i915/intel_atomic.c:198: warning: Function parameter or member 'state' not described in 'intel_crtc_destroy_state'
      drivers/gpu/drm/i915/intel_atomic.c:222: warning: Function parameter or member 'intel_crtc' not described in 'intel_atomic_setup_scalers'
      drivers/gpu/drm/i915/intel_atomic.c:222: warning: Excess function parameter 'crtc' description in 'intel_atomic_setup_scalers'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214134922.28761-1-chris@chris-wilson.co.uk
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      eac95c4e
    • Chris Wilson's avatar
      drm/i915: Fixup kerneldoc for intel_uc_fw_upload() · b8aad15e
      Chris Wilson authored
      
      
      Just a parameter name change that was lost to kerneldoc.
      
      drivers/gpu/drm/i915/intel_uc_fw.c:209: warning: Function parameter or member 'xfer' not described in 'intel_uc_fw_upload'
      drivers/gpu/drm/i915/intel_uc_fw.c:209: warning: Excess function parameter 'loader' description in 'intel_uc_fw_upload'
      
      v2: Add the Returns:
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214105332.30230-1-chris@chris-wilson.co.uk
      b8aad15e
    • Chris Wilson's avatar
      drm/i915: Add missing kerneldoc parameters for huc_ucode_xfer · 847c51e0
      Chris Wilson authored
      
      
      During the recent upheaval to uc, the parameters to huc_ucode_xfer
      were changed, but the kerneldoc left behind.
      
      drivers/gpu/drm/i915/intel_huc.c:128: warning: Function parameter or member 'huc_fw' not described in 'huc_ucode_xfer'
      drivers/gpu/drm/i915/intel_huc.c:128: warning: Function parameter or member 'vma' not described in 'huc_ucode_xfer'
      drivers/gpu/drm/i915/intel_huc.c:128: warning: Excess function parameter 'dev_priv' description in 'huc_ucode_xfer'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214104040.4532-1-chris@chris-wilson.co.uk
      847c51e0
    • Chris Wilson's avatar
      drm/i915/lvds: Fixup commentary · af4ef7dc
      Chris Wilson authored
      
      
      Remove the kerneldoc markup applied to non-kerneldoc comments and
      convert the multiline comments to the canonical style.
      
      drivers/gpu/drm/i915/intel_lvds.c:313: warning: Function parameter or member 'encoder' not described in 'intel_enable_lvds'
      drivers/gpu/drm/i915/intel_lvds.c:313: warning: Function parameter or member 'pipe_config' not described in 'intel_enable_lvds'
      drivers/gpu/drm/i915/intel_lvds.c:313: warning: Function parameter or member 'conn_state' not described in 'intel_enable_lvds'
      drivers/gpu/drm/i915/intel_lvds.c:453: warning: Function parameter or member 'connector' not described in 'intel_lvds_detect'
      drivers/gpu/drm/i915/intel_lvds.c:453: warning: Function parameter or member 'force' not described in 'intel_lvds_detect'
      drivers/gpu/drm/i915/intel_lvds.c:471: warning: Function parameter or member 'connector' not described in 'intel_lvds_get_modes'
      drivers/gpu/drm/i915/intel_lvds.c:932: warning: Function parameter or member 'dev_priv' not described in 'intel_lvds_init'
      drivers/gpu/drm/i915/intel_lvds.c:932: warning: Excess function parameter 'dev' description in 'intel_lvds_init'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214092909.27040-4-chris@chris-wilson.co.uk
      af4ef7dc
    • Chris Wilson's avatar
      drm/i915/dvo: Fixup commentary · d5fdd43f
      Chris Wilson authored
      
      
      Remove the kerneldoc markup applied to non-kerneldoc comments and
      convert the multiline comments to the canonical style.
      
      drivers/gpu/drm/i915/intel_dvo.c:303: warning: Function parameter or member 'connector' not described in 'intel_dvo_detect'
      drivers/gpu/drm/i915/intel_dvo.c:303: warning: Function parameter or member 'force' not described in 'intel_dvo_detect'
      drivers/gpu/drm/i915/intel_dvo.c:382: warning: Function parameter or member 'encoder' not described in 'intel_dvo_get_current_mode'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214092909.27040-3-chris@chris-wilson.co.uk
      d5fdd43f
    • Chris Wilson's avatar
      drm/i915/dvo: Remove incorrect kerneldoc markups · 5a3ec1e6
      Chris Wilson authored
      
      
      Regular comments where being marked up for kerneldoc, but were not
      formatted properly. Remove the markup to remove the warnings.
      
      drivers/gpu/drm/i915/dvo_ivch.c:192: warning: Function parameter or member 'dvo' not described in 'ivch_read'
      drivers/gpu/drm/i915/dvo_ivch.c:192: warning: Function parameter or member 'addr' not described in 'ivch_read'
      drivers/gpu/drm/i915/dvo_ivch.c:192: warning: Function parameter or member 'data' not described in 'ivch_read'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214092909.27040-2-chris@chris-wilson.co.uk
      5a3ec1e6
    • Chris Wilson's avatar
      drm/i915/crt: Remove obsolete kerneldoc-esque comment · 53722529
      Chris Wilson authored
      
      
      The code describes what it is doing quite well; and that is now much
      more complex than what the old comment would let you believe.
      
      drivers/gpu/drm/i915/intel_crt.c:486: warning: Function parameter or member 'connector' not described in 'intel_crt_detect_hotplug'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214092909.27040-1-chris@chris-wilson.co.uk
      53722529
    • Chris Wilson's avatar
      drm/i915/panel: Split range scaling calculation for readiblity · 5af4ce7d
      Chris Wilson authored
      
      
      Split the 64b multiplication from the division so that it doesn't sprawl
      across a couple of lines and use mul_u32_u32() instead of open-coding
      the 64b conversion.
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214091747.12753-2-chris@chris-wilson.co.uk
      5af4ce7d
    • Chris Wilson's avatar
      drm/i915/panel: Add missing parameters to kerneldoc · e9a744fa
      Chris Wilson authored
      
      
      drivers/gpu/drm/i915/intel_panel.c:409: warning: Function parameter or member 'source_min' not described in 'scale'
      drivers/gpu/drm/i915/intel_panel.c:409: warning: Function parameter or member 'source_max' not described in 'scale'
      drivers/gpu/drm/i915/intel_panel.c:409: warning: Function parameter or member 'target_min' not described in 'scale'
      drivers/gpu/drm/i915/intel_panel.c:409: warning: Function parameter or member 'target_max' not described in 'scale'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214091747.12753-1-chris@chris-wilson.co.uk
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214091747.12753-2-chris@chris-wilson.co.uk
      e9a744fa
    • Chris Wilson's avatar
      drm/i915/sdvo: Tidy up commentary · c16336b9
      Chris Wilson authored
      
      
      Drop the kerneldoc markup from the non-kerneldoc comments and convert
      the multi-line comments to the canonical format.
      
      drivers/gpu/drm/i915/intel_sdvo.c:223: warning: Function parameter or member 'intel_sdvo' not described in 'intel_sdvo_write_sdvox'
      drivers/gpu/drm/i915/intel_sdvo.c:223: warning: Function parameter or member 'val' not described in 'intel_sdvo_write_sdvox'
      drivers/gpu/drm/i915/intel_sdvo.c:653: warning: Function parameter or member 'intel_sdvo' not described in 'intel_sdvo_get_trained_inputs'
      drivers/gpu/drm/i915/intel_sdvo.c:653: warning: Function parameter or member 'input_1' not described in 'intel_sdvo_get_trained_inputs'
      drivers/gpu/drm/i915/intel_sdvo.c:653: warning: Function parameter or member 'input_2' not described in 'intel_sdvo_get_trained_inputs'
      drivers/gpu/drm/i915/intel_sdvo.c:2311: warning: Function parameter or member 'dev_priv' not described in 'intel_sdvo_select_ddc_bus'
      drivers/gpu/drm/i915/intel_sdvo.c:2311: warning: Function parameter or member 'sdvo' not described in 'intel_sdvo_select_ddc_bus'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214090905.4747-1-chris@chris-wilson.co.uk
      c16336b9
    • Chris Wilson's avatar
      drm/i915/tv: Cleanup up obsolete comments · 3930f18a
      Chris Wilson authored
      
      
      The ages old kerneldoc-esque comments still refer to the original stubs
      and not the more complete functions. As they were only describing the
      external entry points (or at least thought themselves to be, they had
      drifted!), they don't provide any commentary for the code flow.
      
      drivers/gpu/drm/i915/intel_tv.c:379: warning: cannot understand function prototype: 'const struct tv_mode tv_modes[] = '
      drivers/gpu/drm/i915/intel_tv.c:1133: warning: bad line:
      drivers/gpu/drm/i915/intel_tv.c:1140: warning: Function parameter or member 'intel_tv' not described in 'intel_tv_detect_type'
      drivers/gpu/drm/i915/intel_tv.c:1140: warning: Function parameter or member 'connector' not described in 'intel_tv_detect_type'
      drivers/gpu/drm/i915/intel_tv.c:1272: warning: Function parameter or member 'connector' not described in 'intel_tv_detect'
      drivers/gpu/drm/i915/intel_tv.c:1272: warning: Function parameter or member 'ctx' not described in 'intel_tv_detect'
      drivers/gpu/drm/i915/intel_tv.c:1272: warning: Function parameter or member 'force' not described in 'intel_tv_detect'
      drivers/gpu/drm/i915/intel_tv.c:1351: warning: Function parameter or member 'connector' not described in 'intel_tv_get_modes'
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214085814.2565-1-chris@chris-wilson.co.uk
      3930f18a
    • Hans de Goede's avatar
      drm/i915: Fix DSI panels with v1 MIPI sequences without a DEASSERT sequence v3 · fb38e7ad
      Hans de Goede authored
      
      
      So far models of the Dell Venue 8 Pro, with a panel with MIPI panel
      index = 3, one of which has been kindly provided to me by Jan Brummer,
      where not working with the i915 driver, giving a black screen on the
      first modeset.
      
      The problem with at least these Dells is that their VBT defines a MIPI
      ASSERT sequence, but not a DEASSERT sequence. Instead they DEASSERT the
      reset in their INIT_OTP sequence, but the deassert must be done before
      calling intel_dsi_device_ready(), so that is too late.
      
      Simply doing the INIT_OTP sequence earlier is not enough to fix this,
      because the INIT_OTP sequence also sends various MIPI packets to the
      panel, which can only happen after calling intel_dsi_device_ready().
      
      This commit fixes this by splitting the INIT_OTP sequence into everything
      before the first DSI packet and everything else, including the first DSI
      packet. The first part (everything before the first DSI packet) is then
      used as deassert sequence.
      
      Changed in v2:
      -Split the init OTP sequence into a deassert reset and the actual init
       OTP sequence, instead of calling it earlier and then having the first
       mipi_exec_send_packet() call call intel_dsi_device_ready().
      
      Changes in v3:
      -Move the whole shebang to intel_bios.c
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82880
      References: https://bugs.freedesktop.org/show_bug.cgi?id=101205
      Cc: Jan-Michael Brummer <jan.brummer@tabos.org>
      Reported-by: default avatarJan-Michael Brummer <jan.brummer@tabos.org>
      Tested-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214082151.25015-3-hdegoede@redhat.com
      fb38e7ad
    • Hans de Goede's avatar
      drm/i915: Free memdup-ed DSI VBT data structures on driver_unload · e1b86c85
      Hans de Goede authored
      
      
      Make intel_bios_cleanup function free the DSI VBT data structures which
      are memdup-ed by parse_mipi_config() and parse_mipi_sequence().
      
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214082151.25015-2-hdegoede@redhat.com
      e1b86c85
    • Hans de Goede's avatar
      drm/i915: Add intel_bios_cleanup() function · 785f076b
      Hans de Goede authored
      
      
      Add an intel_bios_cleanup() function to act as counterpart of
      intel_bios_init() and move the cleanup of vbt related resources there,
      putting it in the same file as the allocation.
      
      Changed in v2:
      -While touching the code anyways, remove the unnecessary:
       if (dev_priv->vbt.child_dev) done before kfree(dev_priv->vbt.child_dev)
      
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180214082151.25015-1-hdegoede@redhat.com
      785f076b
    • Joonas Lahtinen's avatar
    • Tvrtko Ursulin's avatar
      drm/i915: Handle RC6 counter wrap · 817cc079
      Tvrtko Ursulin authored
      
      
      We can implement limited RC6 counter wrap-around protection under the
      assumption that clients will be reading this value more frequently than
      the wrap period on a given platform.
      
      With the typical wrap-around period being ~90 minutes, even with the
      exception of Baytrail which wraps every 13 seconds, this sounds like a
      reasonable assumption.
      
      Implementation works by storing a 64-bit software copy of a hardware RC6
      counter, along with the previous HW counter snapshot. This enables it to
      detect wrap is polled frequently enough and keep the software copy
      monotonically incrementing.
      
      v2:
       * Missed GEN6_GT_GFX_RC6_LOCKED when considering slot sizing and
         indexing.
       * Fixed off-by-one in wrap-around handling. (Chris Wilson)
      
      v3:
       * Simplify index checking by using unsigned int. (Chris Wilson)
       * Expand the comment to explain why indexing works.
      
      v4:
       * Use __int128 if supported.
      
      v5:
       * Use mul_u64_u32_div. (Chris Wilson)
      
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94852
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> # v3
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180208160036.29919-1-tvrtko.ursulin@linux.intel.com
      Acked-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      817cc079
    • Tvrtko Ursulin's avatar
      drm/i915: Fix i915_gem_context.h header · 62b5ed1f
      Tvrtko Ursulin authored
      
      
      Header uses I915_NUM_ENGINES so needs to include i915.gem.h, and also
      it uses requests so we can forward declare struct drm_i915_gem_request.
      
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Suggested-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180213141833.17012-1-tvrtko.ursulin@linux.intel.com
      62b5ed1f
  4. Feb 13, 2018