dragonfly.git
6 years agodrm/i915: Sync intel_display.c with Linux
François Tigeot [Wed, 16 Aug 2017 08:43:26 +0000 (10:43 +0200)]
drm/i915: Sync intel_display.c with Linux

6 years agoSync drm/drm_atomic.h with Linux
François Tigeot [Wed, 16 Aug 2017 07:39:24 +0000 (09:39 +0200)]
Sync drm/drm_atomic.h with Linux

6 years agoSync drm_crtc_helper.c with Linux
François Tigeot [Wed, 16 Aug 2017 07:26:23 +0000 (09:26 +0200)]
Sync drm_crtc_helper.c with Linux

6 years agoSync drm_atomic.h with Linux
François Tigeot [Wed, 16 Aug 2017 07:23:43 +0000 (09:23 +0200)]
Sync drm_atomic.h with Linux

6 years agoft: dfly_drv_private
François Tigeot [Wed, 16 Aug 2017 02:36:04 +0000 (04:36 +0200)]
ft: dfly_drv_private

6 years agodrm/i915: Move module init/exit to i915_pci.c
François Tigeot [Sat, 12 Aug 2017 20:25:42 +0000 (22:25 +0200)]
drm/i915: Move module init/exit to i915_pci.c

6 years agodrm/i915: Split out the PCI driver interface to i915_pci.c
François Tigeot [Wed, 3 Jan 2018 22:14:52 +0000 (23:14 +0100)]
drm/i915: Split out the PCI driver interface to i915_pci.c

6 years agodrm/i915: Fix misleading driver debug message
François Tigeot [Sat, 12 Aug 2017 14:20:01 +0000 (16:20 +0200)]
drm/i915: Fix misleading driver debug message

6 years agodrm/i915: Remove user controllable DRM_ERROR for intel_get_pipe_from_crtc_id()
François Tigeot [Sat, 12 Aug 2017 14:19:34 +0000 (16:19 +0200)]
drm/i915: Remove user controllable DRM_ERROR for intel_get_pipe_from_crtc_id()

6 years agodrm/i915: Remove user controllable DRM_ERROR for i915_getparam()
François Tigeot [Sat, 12 Aug 2017 14:18:43 +0000 (16:18 +0200)]
drm/i915: Remove user controllable DRM_ERROR for i915_getparam()

6 years agoRemove i915_dma.c
François Tigeot [Wed, 3 Jan 2018 22:20:35 +0000 (23:20 +0100)]
Remove i915_dma.c

6 years agoPartial redo 20
François Tigeot [Tue, 26 Dec 2017 09:41:23 +0000 (10:41 +0100)]
Partial redo 20

6 years agoPartial redo 19
François Tigeot [Tue, 26 Dec 2017 09:26:30 +0000 (10:26 +0100)]
Partial redo 19

6 years agoPartial redo 19
François Tigeot [Tue, 26 Dec 2017 09:25:59 +0000 (10:25 +0100)]
Partial redo 19

6 years agoPartial redo 18
François Tigeot [Tue, 26 Dec 2017 09:19:53 +0000 (10:19 +0100)]
Partial redo 18

6 years agoPartial redo 17
François Tigeot [Tue, 26 Dec 2017 08:17:54 +0000 (09:17 +0100)]
Partial redo 17

6 years agoPartial redo 16
François Tigeot [Tue, 26 Dec 2017 08:16:00 +0000 (09:16 +0100)]
Partial redo 16

6 years agoPartial redo 15
François Tigeot [Tue, 26 Dec 2017 08:13:49 +0000 (09:13 +0100)]
Partial redo 15

6 years agoPartial redo 14
François Tigeot [Tue, 26 Dec 2017 08:12:58 +0000 (09:12 +0100)]
Partial redo 14

6 years agoPartial redo 13
François Tigeot [Tue, 26 Dec 2017 08:11:07 +0000 (09:11 +0100)]
Partial redo 13

6 years agoPartial redo 12
François Tigeot [Mon, 25 Dec 2017 22:01:09 +0000 (23:01 +0100)]
Partial redo 12

6 years agoPartial redo 11
François Tigeot [Mon, 25 Dec 2017 21:58:24 +0000 (22:58 +0100)]
Partial redo 11

6 years agoPartial redo 10
François Tigeot [Mon, 25 Dec 2017 21:56:12 +0000 (22:56 +0100)]
Partial redo 10

6 years agoPartial redo 9
François Tigeot [Mon, 25 Dec 2017 21:54:32 +0000 (22:54 +0100)]
Partial redo 9

6 years agoPartial redo 7
François Tigeot [Mon, 25 Dec 2017 21:52:16 +0000 (22:52 +0100)]
Partial redo 7

6 years agoPartial redo 7
François Tigeot [Mon, 25 Dec 2017 21:50:54 +0000 (22:50 +0100)]
Partial redo 7

6 years agoPartial redo 6
François Tigeot [Mon, 25 Dec 2017 21:46:34 +0000 (22:46 +0100)]
Partial redo 6

6 years agoPartial redo 5
François Tigeot [Mon, 25 Dec 2017 21:36:23 +0000 (22:36 +0100)]
Partial redo 5

6 years agoPartial redo 4
François Tigeot [Mon, 25 Dec 2017 21:32:26 +0000 (22:32 +0100)]
Partial redo 4

6 years agoPartial redo 3
François Tigeot [Mon, 25 Dec 2017 09:56:45 +0000 (10:56 +0100)]
Partial redo 3

6 years agoPartial redo 2
François Tigeot [Mon, 25 Dec 2017 07:31:52 +0000 (08:31 +0100)]
Partial redo 2

6 years agoPartial redo
François Tigeot [Wed, 3 Jan 2018 22:10:32 +0000 (23:10 +0100)]
Partial redo

6 years agoRevert "drm/i915: Merge i915_dma.c into i915_drv.c"
François Tigeot [Wed, 3 Jan 2018 22:04:07 +0000 (23:04 +0100)]
Revert "drm/i915: Merge i915_dma.c into i915_drv.c"

6 years agodrm/i915: Merge i915_dma.c into i915_drv.c
François Tigeot [Wed, 3 Jan 2018 21:46:30 +0000 (22:46 +0100)]
drm/i915: Merge i915_dma.c into i915_drv.c

6 years agodrm/i915: Start exploiting drm_device subclassing
François Tigeot [Fri, 11 Aug 2017 13:26:26 +0000 (15:26 +0200)]
drm/i915: Start exploiting drm_device subclassing

6 years agodrm/i915: Move all driver initialization to the probe function
François Tigeot [Fri, 11 Aug 2017 08:56:55 +0000 (10:56 +0200)]
drm/i915: Move all driver initialization to the probe function

6 years agoft: debug driver initialization, xorg working again
François Tigeot [Tue, 8 Aug 2017 14:07:00 +0000 (16:07 +0200)]
ft: debug driver initialization, xorg working again

* kmscube working as user only, Mesa fails to detect gl hw as root

* we use a big fat hack and pass struct drm_device* in a global variable

6 years agodrm: Add drm_pci_set_busid() (commented out)
François Tigeot [Fri, 11 Aug 2017 07:31:18 +0000 (09:31 +0200)]
drm: Add drm_pci_set_busid() (commented out)

6 years agoft: add forgotten drm_gem_init()
François Tigeot [Tue, 8 Aug 2017 12:16:07 +0000 (14:16 +0200)]
ft: add forgotten drm_gem_init()

6 years agodrm/i915: Sync various files with Linux
François Tigeot [Tue, 8 Aug 2017 07:47:46 +0000 (09:47 +0200)]
drm/i915: Sync various files with Linux

6 years agoRework drm/i915 initialization
François Tigeot [Mon, 7 Aug 2017 13:55:26 +0000 (15:55 +0200)]
Rework drm/i915 initialization

Module loads but doesn't do anything

ft: more initialization

6 years agodrm/i915: Remove redundant drm_connector_register_all()
François Tigeot [Tue, 1 Aug 2017 06:57:22 +0000 (08:57 +0200)]
drm/i915: Remove redundant drm_connector_register_all()

6 years agodrm/i915: Demidlayer driver unloading
François Tigeot [Tue, 1 Aug 2017 06:56:18 +0000 (08:56 +0200)]
drm/i915: Demidlayer driver unloading

6 years agoft: Partial sync with Demidlayer driver loading
François Tigeot [Mon, 31 Jul 2017 17:22:09 +0000 (19:22 +0200)]
ft: Partial sync with Demidlayer driver loading

6 years agodrm: Enable drm_pci_init()
François Tigeot [Fri, 28 Jul 2017 13:38:53 +0000 (15:38 +0200)]
drm: Enable drm_pci_init()

6 years agodrm: Sync drm_fops.c with Linux, use file.private_data
Francois Tigeot [Tue, 18 Jul 2017 23:01:39 +0000 (01:01 +0200)]
drm: Sync drm_fops.c with Linux, use file.private_data

* Use the same struct file.private_data mechanism Linux uses to pass
  drm_file information, removing the need for the FreeBSD-originated
  devfs cdevpriv code.

6 years agodrm: Add commented out drm_pci_init()
Francois Tigeot [Thu, 13 Jul 2017 08:55:57 +0000 (10:55 +0200)]
drm: Add commented out drm_pci_init()

6 years agoSync drm_fops.c with Linux
François Tigeot [Tue, 18 Jul 2017 11:12:22 +0000 (13:12 +0200)]
Sync drm_fops.c with Linux

6 years agodrm: remove dev->dev_lock and dev->irq_lock
François Tigeot [Tue, 18 Jul 2017 11:53:41 +0000 (13:53 +0200)]
drm: remove dev->dev_lock and dev->irq_lock

6 years agoSync drm_auth with Linux
François Tigeot [Tue, 18 Jul 2017 09:30:52 +0000 (11:30 +0200)]
Sync drm_auth with Linux

6 years agoSync drm_fops.c with Linux
François Tigeot [Tue, 18 Jul 2017 11:34:47 +0000 (13:34 +0200)]
Sync drm_fops.c with Linux

6 years agodrm: Start building some drm_minor code
François Tigeot [Fri, 7 Jul 2017 12:40:52 +0000 (14:40 +0200)]
drm: Start building some drm_minor code

6 years agodrm: Call drm_dev_register from drm_load()
François Tigeot [Fri, 7 Jul 2017 12:19:21 +0000 (14:19 +0200)]
drm: Call drm_dev_register from drm_load()

Reducing code duplication a bit.

6 years agodrm: Inline part of drm_dev_init() in drm_attach
François Tigeot [Fri, 7 Jul 2017 10:48:22 +0000 (12:48 +0200)]
drm: Inline part of drm_dev_init() in drm_attach

drm_attach() is DragonFly-specific, this is a first step to reduce
differences with Linux.

6 years agodrm: Start building various functions
François Tigeot [Wed, 5 Jul 2017 21:49:27 +0000 (23:49 +0200)]
drm: Start building various functions

6 years agodrm/i915: Sync with Linux a bit
François Tigeot [Wed, 5 Jul 2017 21:40:50 +0000 (23:40 +0200)]
drm/i915: Sync with Linux a bit

6 years agodrm: Add drm_get_pci_dev()
François Tigeot [Wed, 5 Jul 2017 21:22:45 +0000 (23:22 +0200)]
drm: Add drm_get_pci_dev()

6 years agodrm: Sync drm_lock.c with Linux
François Tigeot [Fri, 7 Jul 2017 12:51:35 +0000 (14:51 +0200)]
drm: Sync drm_lock.c with Linux

6 years agodrm: Remove buf_sigio
François Tigeot [Tue, 18 Jul 2017 09:25:17 +0000 (11:25 +0200)]
drm: Remove buf_sigio

It doesn't exist in Linux

6 years agodrm/i915: Register debugfs interface last
François Tigeot [Mon, 3 Jul 2017 21:05:43 +0000 (23:05 +0200)]
drm/i915: Register debugfs interface last

6 years agodrm/i915: Move connector registration to driver registration
François Tigeot [Mon, 3 Jul 2017 20:59:14 +0000 (22:59 +0200)]
drm/i915: Move connector registration to driver registration

6 years agodrm/i915: Move backlight registration to connector registration
François Tigeot [Mon, 3 Jul 2017 20:57:34 +0000 (22:57 +0200)]
drm/i915: Move backlight registration to connector registration

6 years agodrm/i915: Move registration actions to connector->late_register
François Tigeot [Mon, 3 Jul 2017 12:28:05 +0000 (14:28 +0200)]
drm/i915: Move registration actions to connector->late_register

6 years agodrm/i915: Move panel's backlight setup next to panel init
François Tigeot [Mon, 3 Jul 2017 10:42:56 +0000 (12:42 +0200)]
drm/i915: Move panel's backlight setup next to panel init

6 years agodrm/i915: Small compaction of the engine init code
François Tigeot [Mon, 3 Jul 2017 10:40:39 +0000 (12:40 +0200)]
drm/i915: Small compaction of the engine init code

6 years agodrm: Use helper to turn off CRTC
François Tigeot [Mon, 3 Jul 2017 10:39:54 +0000 (12:39 +0200)]
drm: Use helper to turn off CRTC

6 years agodrm: Add helpers to turn off CRTCs
François Tigeot [Mon, 3 Jul 2017 10:37:25 +0000 (12:37 +0200)]
drm: Add helpers to turn off CRTCs

6 years agodrm/atomic: Make drm_atomic_legacy_backoff reset crtc->acquire_ctx
François Tigeot [Fri, 30 Jun 2017 08:54:22 +0000 (10:54 +0200)]
drm/atomic: Make drm_atomic_legacy_backoff reset crtc->acquire_ctx

6 years agodrm/i915: Refresh cached DP port register value on resume
François Tigeot [Fri, 30 Jun 2017 08:54:00 +0000 (10:54 +0200)]
drm/i915: Refresh cached DP port register value on resume

6 years agodrm/i915: Sanity check PPS HW state
François Tigeot [Fri, 30 Jun 2017 08:53:26 +0000 (10:53 +0200)]
drm/i915: Sanity check PPS HW state

6 years agodrm/i915: Factor out helper to read out PPS HW state
François Tigeot [Fri, 30 Jun 2017 08:53:00 +0000 (10:53 +0200)]
drm/i915: Factor out helper to read out PPS HW state

6 years agodrm/i915: Deduplicate PPS register retrieval
François Tigeot [Fri, 30 Jun 2017 08:52:31 +0000 (10:52 +0200)]
drm/i915: Deduplicate PPS register retrieval

6 years agodrm/i915/bxt: Fix PPS lost state after suspend breaking eDP link training
François Tigeot [Fri, 30 Jun 2017 08:30:13 +0000 (10:30 +0200)]
drm/i915/bxt: Fix PPS lost state after suspend breaking eDP link training

6 years agodrm/i915: Group all the PPS init steps to one place
François Tigeot [Fri, 30 Jun 2017 08:29:00 +0000 (10:29 +0200)]
drm/i915: Group all the PPS init steps to one place

6 years agodrm/i915: Initialize the PPS HW before its first use
François Tigeot [Fri, 30 Jun 2017 08:28:34 +0000 (10:28 +0200)]
drm/i915: Initialize the PPS HW before its first use

6 years agodrm/i915/ibx, cpt: Don't attempt to register eDP if LVDS was detected
François Tigeot [Fri, 30 Jun 2017 08:28:03 +0000 (10:28 +0200)]
drm/i915/ibx, cpt: Don't attempt to register eDP if LVDS was detected

6 years agodrm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference
François Tigeot [Fri, 30 Jun 2017 08:27:12 +0000 (10:27 +0200)]
drm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference

6 years agodrm: document drm_auth.c
François Tigeot [Fri, 30 Jun 2017 08:24:14 +0000 (10:24 +0200)]
drm: document drm_auth.c

6 years agodrm: Clear up master tracking booleans
François Tigeot [Fri, 30 Jun 2017 08:22:05 +0000 (10:22 +0200)]
drm: Clear up master tracking booleans

6 years agodrm: Extract drm_is_current_master
François Tigeot [Fri, 30 Jun 2017 06:33:47 +0000 (08:33 +0200)]
drm: Extract drm_is_current_master

Partial sync with Linux

6 years agodrm: Refactor drop/set master code a bit
François Tigeot [Thu, 29 Jun 2017 21:24:49 +0000 (23:24 +0200)]
drm: Refactor drop/set master code a bit

6 years agodrm: Lobotomize set_busid nonsense for !pci drivers
François Tigeot [Thu, 29 Jun 2017 21:12:20 +0000 (23:12 +0200)]
drm: Lobotomize set_busid nonsense for !pci drivers

6 years agodrm: Nuke SET_UNIQUE ioctl
François Tigeot [Thu, 29 Jun 2017 20:00:47 +0000 (22:00 +0200)]
drm: Nuke SET_UNIQUE ioctl

6 years agodrm: Don't call drm_dev_set_unique from platform drivers
François Tigeot [Thu, 29 Jun 2017 19:55:35 +0000 (21:55 +0200)]
drm: Don't call drm_dev_set_unique from platform drivers

6 years agodrm: Use dev->name as fallback for dev->unique
François Tigeot [Thu, 29 Jun 2017 19:51:09 +0000 (21:51 +0200)]
drm: Use dev->name as fallback for dev->unique

6 years agodrm: Clean up drm_crtc.h
François Tigeot [Thu, 29 Jun 2017 19:49:57 +0000 (21:49 +0200)]
drm: Clean up drm_crtc.h

6 years agodrm: Partial sync with Linux 3
François Tigeot [Thu, 29 Jun 2017 19:38:14 +0000 (21:38 +0200)]
drm: Partial sync with Linux 3

6 years agoPartial sync 2, still working
François Tigeot [Thu, 29 Jun 2017 18:59:41 +0000 (20:59 +0200)]
Partial sync 2, still working

6 years agoPartial sync, still working
François Tigeot [Thu, 29 Jun 2017 18:47:43 +0000 (20:47 +0200)]
Partial sync, still working

6 years agoPartial redo 2, still working
François Tigeot [Thu, 29 Jun 2017 08:35:40 +0000 (10:35 +0200)]
Partial redo 2, still working

6 years agoPartial revert, working
François Tigeot [Wed, 28 Jun 2017 18:30:04 +0000 (20:30 +0200)]
Partial revert, working

6 years agodrm: Sync drm_auth and drm_bufs.c with Linux
François Tigeot [Wed, 28 Jun 2017 12:46:58 +0000 (14:46 +0200)]
drm: Sync drm_auth and drm_bufs.c with Linux

6 years agodrm: fix drm_legacy.h
François Tigeot [Wed, 28 Jun 2017 12:36:05 +0000 (14:36 +0200)]
drm: fix drm_legacy.h

6 years agodrm: Sync drm_ioctl.c with Linux
François Tigeot [Wed, 28 Jun 2017 12:21:57 +0000 (14:21 +0200)]
drm: Sync drm_ioctl.c with Linux

6 years agodrm: Sync drm_scatter.c with Linux
François Tigeot [Wed, 28 Jun 2017 12:06:12 +0000 (14:06 +0200)]
drm: Sync drm_scatter.c with Linux

6 years agoFix drm_drv.c
François Tigeot [Wed, 28 Jun 2017 11:45:31 +0000 (13:45 +0200)]
Fix drm_drv.c

6 years agofix drm_sysctl.c
François Tigeot [Wed, 28 Jun 2017 11:27:01 +0000 (13:27 +0200)]
fix drm_sysctl.c

6 years agofix drm_fops.c
François Tigeot [Wed, 28 Jun 2017 11:26:25 +0000 (13:26 +0200)]
fix drm_fops.c

6 years agodrm: Add callbacks for late registering
François Tigeot [Wed, 28 Jun 2017 05:33:42 +0000 (07:33 +0200)]
drm: Add callbacks for late registering

6 years agodrm/i915/fbc: Disable on HSW by default for now
François Tigeot [Wed, 28 Jun 2017 05:33:04 +0000 (07:33 +0200)]
drm/i915/fbc: Disable on HSW by default for now