summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau
Commit message (Collapse)AuthorAgeFilesLines
* drm/nouveau: Stop using drm_crtc_force_disableDaniel Vetter2019-04-051-1/+3
| | | | | | | | | | | | | | | | | | | | | [ Upstream commit 934c5b32a5e43d8de2ab4f1566f91d7c3bf8cb64 ] The correct way for legacy drivers to update properties that need to do a full modeset, is to do a full modeset. Note that we don't need to call the drm_mode_config_internal helper because we're not changing any of the refcounted paramters. v2: Fixup error handling (Ville). Since the old code didn't bother I decided to just delete it instead of adding even more code for just error handling. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1) Cc: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181217194303.14397-2-daniel.vetter@ffwll.ch Signed-off-by: Sasha Levin <sashal@kernel.org>
* Merge branch 'linux-4.21' of git://github.com/skeggsb/linux into drm-fixesDave Airlie2019-01-181-0/+33
|\ | | | | | | | | | | | | | | nouveau support for TU102 (RTX 2080 Ti) Signed-off-by: Dave Airlie <airlied@redhat.com> From: Ben Skeggs <bskeggs@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/CABDvA=mQsRr0BpRpv3n6UjthHush4u_kQR3oUGHkBtAHTmyCYw@mail.gmail.com
| * drm/nouveau/core: recognise TU102Ben Skeggs2019-01-181-0/+33
| | | | | | | | | | | | | | Would usually do this split-out, verifying each component indivitually, but this has been squashed together to be more palatable for merging in 5.0-rc. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* | Merge branch 'linux-4.21' of git://github.com/skeggsb/linux into drm-fixesDave Airlie2019-01-113-5/+12
|\| | | | | | | | | | | | | | | | | 3 nouveau fixes: one backlight, falcon register access, and a fan fix. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Ben Skeggs <skeggsb@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/CACAvsv4MHr=Rq3FkZFTYWPc7o5-dTWFysXB=wN2L91SYeFbzkQ@mail.gmail.com
| * drm/nouveau/falcon: avoid touching registers if engine is offIlia Mirkin2019-01-111-2/+5
| | | | | | | | | | | | Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108980 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau: Don't disable polling in fallback modeTakashi Iwai2019-01-111-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When a fan is controlled via linear fallback without cstate, we shouldn't stop polling. Otherwise it won't be adjusted again and keeps running at an initial crazy pace. Fixes: 800efb4c2857 ("drm/nouveau/drm/therm/fan: add a fallback if no fan control is specified in the vbios") Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1103356 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107447 Reported-by: Thomas Blume <thomas.blume@suse.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Reviewed-by: Martin Peres <martin.peres@free.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau: register backlight on pascal and newerBen Skeggs2019-01-111-0/+3
| | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* | Merge tag 'fbdev-v4.21' of git://github.com/bzolnier/linuxLinus Torvalds2019-01-051-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull fbdev updates from Bartlomiej Zolnierkiewicz: "This time the pull request is really small. The most notable changes are fixing fbcon to not cause crash on unregister_framebuffer() operation when there is more than one framebuffer, adding config option to center the bootup logo and making FB_BACKLIGHT config option tristate (which in turn uncovered incorrect FB_BACKLIGHT usage by DRM's nouveau driver). Summary: - fix fbcon to not cause crash on unregister_framebuffer() when there is more than one framebuffer (Noralf Trønnes) - improve support for small rotated displays (Peter Rosin) - fix probe failure handling in udlfb driver (Dan Carpenter) - add config option to center the bootup logo (Peter Rosin) - make FB_BACKLIGHT config option tristate (Rob Clark) - remove superfluous HAS_DMA dependency for goldfishfb driver (Geert Uytterhoeven) - misc fixes (Alexey Khoroshilov, YueHaibing, Colin Ian King, Lubomir Rintel) - misc cleanups (Yangtao Li, Wen Yang) also there is DRM's nouveau driver fix for wrong FB_BACKLIGHT config option usage (FB_BACKLIGHT is for internal fbdev subsystem use only)" * tag 'fbdev-v4.21' of git://github.com/bzolnier/linux: drm/nouveau: fix incorrect FB_BACKLIGHT usage in Kconfig fbdev: fbcon: Fix unregister crash when more than one framebuffer fbdev: Remove depends on HAS_DMA in case of platform dependency pxa168fb: trivial typo fix fbdev: fsl-diu: remove redundant null check on cmap fbdev: omap2: omapfb: convert to DEFINE_SHOW_ATTRIBUTE fbdev: uvesafb: fix spelling mistake "memoery" -> "memory" fbdev: fbmem: add config option to center the bootup logo fbdev: fbmem: make fb_show_logo_line return the end instead of the height video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data" fbdev: fbmem: behave better with small rotated displays and many CPUs video: clps711x-fb: release disp device node in probe() fbdev: make FB_BACKLIGHT a tristate udlfb: fix some inconsistent NULL checking
| * | drm/nouveau: fix incorrect FB_BACKLIGHT usage in KconfigBartlomiej Zolnierkiewicz2019-01-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Making FB_BACKLIGHT tristate by commit b4a1ed0cd18b ("fbdev: make FB_BACKLIGHT a tristate") caused unmet dependencies in some configurations: WARNING: unmet direct dependencies detected for FB_BACKLIGHT Depends on [m]: HAS_IOMEM [=y] && FB [=m] Selected by [y]: - DRM_NOUVEAU [=y] && HAS_IOMEM [=y] && DRM [=y] && PCI [=y] && MMU [=y] && DRM_NOUVEAU_BACKLIGHT [=y] Selected by [m]: - FB_NVIDIA [=m] && HAS_IOMEM [=y] && FB [=m] && PCI [=y] && FB_NVIDIA_BACKLIGHT [=y] Fix it by making DRM_NOUVEAU select BACKLIGHT_CLASS_DEVICE and BACKLIGHT_LCD_SUPPORT instead of FB_BACKLIGHT. Fixes: b4a1ed0cd18b ("fbdev: make FB_BACKLIGHT a tristate") Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Cc: Rob Clark <robdclark@gmail.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Ben Skeggs <bskeggs@redhat.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
* | | Merge tag 'drm-next-2018-12-14' of git://anongit.freedesktop.org/drm/drmLinus Torvalds2018-12-25122-378/+2451
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull drm updates from Dave Airlie: "Core: - shared fencing staging removal - drop transactional atomic helpers and move helpers to new location - DP/MST atomic cleanup - Leasing cleanups and drop EXPORT_SYMBOL - Convert drivers to atomic helpers and generic fbdev. - removed deprecated obj_ref/unref in favour of get/put - Improve dumb callback documentation - MODESET_LOCK_BEGIN/END helpers panels: - CDTech panels, Banana Pi Panel, DLC1010GIG, - Olimex LCD-O-LinuXino, Samsung S6D16D0, Truly NT35597 WQXGA, - Himax HX8357D, simulated RTSM AEMv8. - GPD Win2 panel - AUO G101EVN010 vgem: - render node support ttm: - move global init out of drivers - fix LRU handling for ghost objects - Support for simultaneous submissions to multiple engines scheduler: - timeout/fault handling changes to help GPU recovery - helpers for hw with preemption support i915: - Scaler/Watermark fixes - DP MST + powerwell fixes - PSR fixes - Break long get/put shmemfs pages - Icelake fixes - Icelake DSI video mode enablement - Engine workaround improvements amdgpu: - freesync support - GPU reset enabled on CI, VI, SOC15 dGPUs - ABM support in DC - KFD support for vega12/polaris12 - SDMA paging queue on vega - More amdkfd code sharing - DCC scanout on GFX9 - DC kerneldoc - Updated SMU firmware for GFX8 chips - XGMI PSP + hive reset support - GPU reset - DC trace support - Powerplay updates for newer Polaris - Cursor plane update fast path - kfd dma-buf support virtio-gpu: - add EDID support vmwgfx: - pageflip with damage support nouveau: - Initial Turing TU104/TU106 modesetting support msm: - a2xx gpu support for apq8060 and imx5 - a2xx gpummu support - mdp4 display support for apq8060 - DPU fixes and cleanups - enhanced profiling support - debug object naming interface - get_iova/page pinning decoupling tegra: - Tegra194 host1x, VIC and display support enabled - Audio over HDMI for Tegra186 and Tegra194 exynos: - DMA/IOMMU refactoring - plane alpha + blend mode support - Color format fixes for mixer driver rcar-du: - R8A7744 and R8A77470 support - R8A77965 LVDS support imx: - fbdev emulation fix - multi-tiled scalling fixes - SPDX identifiers rockchip - dw_hdmi support - dw-mipi-dsi + dual dsi support - mailbox read size fix qxl: - fix cursor pinning vc4: - YUV support (scaling + cursor) v3d: - enable TFU (Texture Formatting Unit) mali-dp: - add support for linear tiled formats sun4i: - Display Engine 3 support - H6 DE3 mixer 0 support - H6 display engine support - dw-hdmi support - H6 HDMI phy support - implicit fence waiting - BGRX8888 support meson: - Overlay plane support - implicit fence waiting - HDMI 1.4 4k modes bridge: - i2c fixes for sii902x" * tag 'drm-next-2018-12-14' of git://anongit.freedesktop.org/drm/drm: (1403 commits) drm/amd/display: Add fast path for cursor plane updates drm/amdgpu: Enable GPU recovery by default for CI drm/amd/display: Fix duplicating scaling/underscan connector state drm/amd/display: Fix unintialized max_bpc state values Revert "drm/amd/display: Set RMX_ASPECT as default" drm/amdgpu: Fix stub function name drm/msm/dpu: Fix clock issue after bind failure drm/msm/dpu: Clean up dpu_media_info.h static inline functions drm/msm/dpu: Further cleanups for static inline functions drm/msm/dpu: Cleanup the debugfs functions drm/msm/dpu: Remove dpu_irq and unused functions drm/msm: Make irq_postinstall optional drm/msm/dpu: Cleanup callers of dpu_hw_blk_init drm/msm/dpu: Remove unused functions drm/msm/dpu: Remove dpu_crtc_is_enabled() drm/msm/dpu: Remove dpu_crtc_get_mixer_height drm/msm/dpu: Remove dpu_dbg drm/msm: dpu: Remove crtc_lock drm/msm: dpu: Remove vblank_requested flag from dpu_crtc drm/msm: dpu: Separate crtc assignment from vblank enable ...
| * drm/nouveau/ce/tu106: initial supportBen Skeggs2018-12-111-0/+5
| | | | | | | | | | | | Appears to be compatible with TU104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/fifo/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with TU104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/disp/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with TU104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/dma/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GV100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/therm/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GP100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/pmu/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GP102. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/fault/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with TU104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/bar/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with TU104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/mmu/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with TU104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/ltc/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GP102. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/fb/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GV100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/imem/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with NV50. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/tmr/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GK20A. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/bus/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GF100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/mc/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with TU104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/fuse/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GM107. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/i2c/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GM200. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/gpio/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GK104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/ibus/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GM200. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/top/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GK104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/devinit/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with TU104. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/bios/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | No real surprised here so far. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/pci/tu106: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GP100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/core: recognise TU106Ben Skeggs2018-12-111-0/+6
| | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/core: increase maximum number of nvdec instances to 3Ben Skeggs2018-12-113-3/+7
| | | | | | | | | | | | RTX2070 appears to have 3 copies of the engine. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/kms/tu104: initial supportBen Skeggs2018-12-1115-19/+457
| | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/ce/tu104: initial supportBen Skeggs2018-12-116-0/+50
| | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/fifo/tu104: initial supportBen Skeggs2018-12-1114-9/+279
| | | | | | | | | | | | Various different bits and pieces vs GV100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/disp/tu104: initial supportBen Skeggs2018-12-1113-8/+333
| | | | | | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/dma/tu104: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GV100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/therm/tu104: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GP100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/pmu/tu104: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GP102. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/fault/tu104: initial supportBen Skeggs2018-12-116-1/+173
| | | | | | | | | | | | | | | | | | | | | | | | New registers. Currently uncertain how exactly to mask fault buffer interrupts. This will likely be corrected at around the same time as the new MC interrupt stuff has been properly figured out and implemented. For the moment, it shouldn't matter too much. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/bar/tu104: initial supportBen Skeggs2018-12-114-0/+101
| | | | | | | | | | | | New registers. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/mmu/tu104: initial supportBen Skeggs2018-12-116-0/+129
| | | | | | | | | | | | New flush method. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/ltc/tu104: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GP102. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/fb/tu104: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GV100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/imem/tu104: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with NV50. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/tmr/tu104: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GK20A. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| * drm/nouveau/bus/tu104: initial supportBen Skeggs2018-12-111-0/+1
| | | | | | | | | | | | Appears to be compatible with GF100. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
OpenPOWER on IntegriCloud