linux_dsm_epyc7002/drivers/gpu/drm/i915
Ville Syrjälä 1e1bb8710e drm/i915: Use fb->pitches[0] in cursor code
The cursor code currently ignores fb->pitches[0] (except when creating
the fb itself), and just uses the cursor_width*4 as the stride. Let's
make sure fb->pitches[0] actually matches what we expect it to be.

We can also relax the stride vs. cursor width relationship on 845/865
since the stride is programmed separately. The only constraint is that
width*cpp doesn't exceed the stride, and that's already been checked
by the core since it makes sure the entire plane fits within the fb.

We can also drop the bo size check as that's already checked when
we create the fb. That is the fb is guaranteed to fit within the bo.

v2: Rebase due to i845_cursor_ctl() and i9xx_cursor_ctl()

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> #v1
Link: http://patchwork.freedesktop.org/patch/msgid/20170327185546.2977-11-ville.syrjala@linux.intel.com
2017-05-10 19:28:33 +03:00
..
gvt drm/i915: Use engine->context_pin() to report the intel_ring 2017-05-04 11:54:43 +01:00
selftests drm/i915: Use engine->context_pin() to report the intel_ring 2017-05-04 11:54:43 +01:00
dvo_ch7xxx.c
dvo_ch7017.c drm/i915/lvds: Remove magic from PLL programming 2017-05-10 13:47:55 +03:00
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
dvo.h
i915_cmd_parser.c drm/i915: Rename intel_engine_cs.exec_id to uabi_id 2017-04-11 14:31:39 +01:00
i915_debugfs.c drm/i915: Clean up cursor junk from intel_crtc 2017-05-10 19:03:00 +03:00
i915_drv.c drm/i915: Do not leak dev_priv->l3_parity.remap_info[] 2017-05-02 12:09:13 +03:00
i915_drv.h drm/i915: Two stage watermarks for g4x 2017-05-10 16:48:31 +03:00
i915_gem_batch_pool.c
i915_gem_batch_pool.h
i915_gem_clflush.c drm/i915: Mark up clflushes as belonging to an unordered timeline 2017-05-03 11:08:45 +01:00
i915_gem_clflush.h drm/i915: Mark up clflushes as belonging to an unordered timeline 2017-05-03 11:08:45 +01:00
i915_gem_context.c drm/i915: Sanitize engine context sizes 2017-04-28 12:11:59 +03:00
i915_gem_context.h
i915_gem_dmabuf.c drm/i915: Implement dma_buf_ops->kmap 2017-05-03 23:15:02 +01:00
i915_gem_evict.c drm/i915: Move retire-requests into i915_gem_wait_for_idle() 2017-03-31 12:03:46 +01:00
i915_gem_execbuffer.c drm/i915: Copy user requested buffers into the error state 2017-04-15 12:39:57 +01:00
i915_gem_fence_reg.c
i915_gem_fence_reg.h
i915_gem_gtt.c drm/i915: Sanitize stolen memory size calculation 2017-05-10 13:47:53 +03:00
i915_gem_gtt.h
i915_gem_internal.c
i915_gem_object.h
i915_gem_render_state.c
i915_gem_render_state.h
i915_gem_request.c drm/i915: Use engine->context_pin() to report the intel_ring 2017-05-04 11:54:43 +01:00
i915_gem_request.h drm/i915: Copy user requested buffers into the error state 2017-04-15 12:39:57 +01:00
i915_gem_shrinker.c Linux 4.11-rc7 2017-04-19 11:07:14 +10:00
i915_gem_stolen.c
i915_gem_tiling.c
i915_gem_timeline.c drm/i915: Squash repeated awaits on the same fence 2017-05-03 11:08:48 +01:00
i915_gem_timeline.h drm/i915: Rename intel_timeline.sync_seqno[] to .global_sync[] 2017-05-03 11:08:52 +01:00
i915_gem_userptr.c
i915_gem.c drm/i915: Squash repeated awaits on the same fence 2017-05-03 11:08:48 +01:00
i915_gem.h drm/i915: Squash repeated awaits on the same fence 2017-05-03 11:08:48 +01:00
i915_gpu_error.c drm/i915: Capture CCID on ILK 2017-04-28 12:11:59 +03:00
i915_guc_reg.h
i915_guc_submission.c drm/i915: Sanitize engine context sizes 2017-04-28 12:11:59 +03:00
i915_ioc32.c
i915_irq.c drm/i915: Stop pretending to mask/unmask LPE audio interrupts 2017-05-03 16:19:21 +03:00
i915_memcpy.c
i915_mm.c
i915_oa_hsw.c
i915_oa_hsw.h
i915_params.c
i915_params.h
i915_pci.c drm/i915: Eliminate HAS_HW_CONTEXTS 2017-04-28 12:11:59 +03:00
i915_perf.c drm/i915: Use engine->context_pin() to report the intel_ring 2017-05-04 11:54:43 +01:00
i915_pvinfo.h
i915_reg.h drm/i915: Parametrize cursor/primary pipe select bits 2017-05-10 18:53:35 +03:00
i915_selftest.h
i915_suspend.c
i915_sw_fence.c
i915_sw_fence.h
i915_syncmap.c drm/i915: Squash repeated awaits on the same fence 2017-05-03 11:08:48 +01:00
i915_syncmap.h drm/i915: Squash repeated awaits on the same fence 2017-05-03 11:08:48 +01:00
i915_sysfs.c drm/i915: Do not leak dev_priv->l3_parity.remap_info[] 2017-05-02 12:09:13 +03:00
i915_trace_points.c
i915_trace.h drm/i915: Add g4x watermark tracepoint 2017-05-10 16:48:32 +03:00
i915_utils.h drm/i915: Move uncore definitions into a separate header 2017-05-09 16:02:47 +03:00
i915_vgpu.c
i915_vgpu.h
i915_vma.c
i915_vma.h
intel_acpi.c
intel_atomic_plane.c drm/i915: Pass intel_plane and intel_crtc to plane hooks 2017-05-10 18:59:36 +03:00
intel_atomic.c
intel_audio.c drm/i915: Reorganize intel_lpe_audio_notify() arguments 2017-05-03 16:20:48 +03:00
intel_bios.c
intel_bios.h
intel_breadcrumbs.c drm/i915: Apply a cond_resched() to the saturated signaler 2017-04-26 16:27:58 +03:00
intel_cdclk.c drm/i915: Fix rawclk readout for g4x 2017-05-05 19:49:47 +03:00
intel_color.c
intel_crt.c drm/i915: Convert intel_crt connector properties to atomic. 2017-04-12 10:53:22 +02:00
intel_csr.c drm/i915: update the firmware download URL 2017-03-28 11:17:37 +03:00
intel_ddi.c drm/i915: make a few DDI functions static 2017-03-31 11:32:41 -03:00
intel_device_info.c drm/i915: Add support for sprites on g4x 2017-05-10 16:48:32 +03:00
intel_display.c drm/i915: Use fb->pitches[0] in cursor code 2017-05-10 19:28:33 +03:00
intel_dp_aux_backlight.c
intel_dp_link_training.c drm/i915: Implement Link Rate fallback on Link training failure 2017-04-13 21:57:37 +03:00
intel_dp_mst.c drm/i915: Convert intel_dp_mst connector properties to atomic. 2017-04-12 10:53:22 +02:00
intel_dp.c drm/i915/dp: Check error return during DPCD capability queries 2017-05-10 13:47:40 +03:00
intel_dpio_phy.c
intel_dpll_mgr.c
intel_dpll_mgr.h
intel_drv.h drm/i915: Clean up cursor junk from intel_crtc 2017-05-10 19:03:00 +03:00
intel_dsi_dcs_backlight.c
intel_dsi_pll.c
intel_dsi_vbt.c
intel_dsi.c drm/i915/glk: Fix DSI "*ERROR* ULPS is still active" messages 2017-04-28 17:09:06 +03:00
intel_dsi.h
intel_dvo.c drm/i915: Convert intel DVO connector to atomic 2017-04-12 10:53:29 +02:00
intel_engine_cs.c drm/i915: Use engine->context_pin() to report the intel_ring 2017-05-04 11:54:43 +01:00
intel_fbc.c
intel_fbdev.c
intel_fifo_underrun.c
intel_frontbuffer.c
intel_frontbuffer.h
intel_guc_fwif.h drm/i915/guc: Use GUC prefix for CORE_FAMILY definitions 2017-04-05 10:06:38 +01:00
intel_guc_loader.c drm/i915/guc: write wopcm related register once during uc init 2017-04-13 14:01:01 +03:00
intel_guc_log.c drm/i915: Treat WC a separate cache domain 2017-04-12 12:35:17 +01:00
intel_gvt.c drm/i915/gvt: Turn on KBL platform support. 2017-03-29 15:28:51 +08:00
intel_gvt.h
intel_hangcheck.c drm/i915: Avoid format string expansion from engine names 2017-04-19 15:49:27 +03:00
intel_hdmi.c drm/i915/glk: Don't allow 12 bpc when htotal is too big 2017-04-26 19:03:36 +03:00
intel_hotplug.c drm/atomic: Acquire connection_mutex lock in drm_helper_probe_single_connector_modes, v4. 2017-04-06 21:29:23 +02:00
intel_huc.c drm/i915/guc: write wopcm related register once during uc init 2017-04-13 14:01:01 +03:00
intel_i2c.c
intel_lpe_audio.c ALSA: x86: Register multiple PCM devices for the LPE audio card 2017-05-03 16:24:00 +03:00
intel_lrc.c drm/i915: Use engine->context_pin() to report the intel_ring 2017-05-04 11:54:43 +01:00
intel_lrc.h drm/i915: Sanitize engine context sizes 2017-04-28 12:11:59 +03:00
intel_lspcon.c
intel_lvds.c
intel_mocs.c
intel_mocs.h
intel_modes.c
intel_opregion.c drm/i915/opregion: debug log about invalid ACPI OpRegion VBT 2017-03-30 09:12:36 +03:00
intel_overlay.c
intel_panel.c drm/i915: Check error return when converting pipe to connector 2017-05-10 13:47:49 +03:00
intel_pipe_crc.c drm/i915: use memdup_user_nul 2017-05-08 09:28:39 +02:00
intel_pm.c drm/i915: Add g4x watermark tracepoint 2017-05-10 16:48:32 +03:00
intel_psr.c
intel_renderstate_gen6.c
intel_renderstate_gen7.c
intel_renderstate_gen8.c
intel_renderstate_gen9.c
intel_renderstate.h
intel_ringbuffer.c drm/i915: Micro-optimise hotpath through intel_ring_begin() 2017-05-04 15:40:38 +01:00
intel_ringbuffer.h drm/i915: Micro-optimise hotpath through intel_ring_begin() 2017-05-04 15:40:38 +01:00
intel_runtime_pm.c drm/i915: WARN if the core runtime PM get helpers fail 2017-03-28 16:02:10 +03:00
intel_sdvo_regs.h
intel_sdvo.c drm/i915/sdvo: Check error return from intel_sdvo_get_value() 2017-05-10 13:47:43 +03:00
intel_sideband.c
intel_sprite.c drm/i915: Pass intel_plane and intel_crtc to plane hooks 2017-05-10 18:59:36 +03:00
intel_tv.c drm/i915: Convert intel_tv connector properties to atomic, v5. 2017-04-12 10:53:22 +02:00
intel_uc.c drm/i915/guc: Enable send function only after successful init 2017-05-02 13:04:00 +01:00
intel_uc.h drm/i915/guc: Enable send function only after successful init 2017-05-02 13:04:00 +01:00
intel_uncore.c drm/i915: Move uncore definitions into a separate header 2017-05-09 16:02:47 +03:00
intel_uncore.h drm/i915: Move uncore definitions into a separate header 2017-05-09 16:02:47 +03:00
intel_vbt_defs.h
Kconfig
Kconfig.debug
Makefile drm/i915: Squash repeated awaits on the same fence 2017-05-03 11:08:48 +01:00