Hi all,
After merging the drm-intel tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:14,
from include/asm-generic/bug.h:18,
from arch/x86/include/asm/bug.h:83,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:…
[View More]15,
from include/linux/io-mapping.h:22,
from drivers/gpu/drm/i915/i915_drv.h:36,
from drivers/gpu/drm/i915/intel_hangcheck.c:25:
drivers/gpu/drm/i915/selftests/intel_hangcheck.c: In function 'igt_atomic_reset_engine':
include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH'
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
include/linux/printk.h:303:9: note: in expansion of macro 'KERN_ERR'
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~
drivers/gpu/drm/i915/selftests/intel_hangcheck.c:1564:3: note: in expansion of macro 'pr_err'
pr_err("%s(%s): Failed to start request %llx, at %x\n",
^~~~~~
In file included from drivers/gpu/drm/i915/intel_hangcheck.c:315:
drivers/gpu/drm/i915/selftests/intel_hangcheck.c:1564:46: note: format string is defined here
pr_err("%s(%s): Failed to start request %llx, at %x\n",
~~~^
%x
Introduced by commit
921f3a60e54e ("drm/i915/selftests: Verify we can perform resets from atomic context")
--
Cheers,
Stephen Rothwell
[View Less]
https://bugs.freedesktop.org/show_bug.cgi?id=109178
Jan <jv1(a)home.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|NOTOURBUG |FIXED
--- Comment #11 from Jan <jv1(a)home.nl> ---
Just for the sake of record I found the solution:
The (UEFI based) kernel creates /sys/firmware/efi/efivars with the variable:
KBDBacklitLvl-5af56f53-985c-47d5-920c-…
[View More]f1c531d06852
The set immutable flag can be disabled with:
chattr -i
/sys/firmware/efi/efivars/KBDBacklitLvl-5af56f53-985c-47d5-920c-f1c531d06852
After that the variable can be altered from 00 - 03:
echo 0700000002 | xxd -p -r >
/sys/firmware/efi/efivars/KBDBacklitLvl-5af56f53-985c-47d5-920c-f1c531d06852
(GUID dependent on the manufacturer)
00 - Backlight off (always)
01 - Backlight on DIM level (by low ambient light; detected by light sensor)
02 - Backlight on NORM level (by low ambient light)
03 - Backlight on FULL level (by low ambient light)
Inspired by:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1203592
--
You are receiving this mail because:
You are the assignee for the bug.
[View Less]
This patchset adds support for s5pv210 soc, into
Samsung DRM Rotator driver. Currently only NV12 and XRGB8888 formats
are supported.
It was tested by using simple tool from
https://www.spinics.net/lists/linux-samsung-soc/msg60498.html
Changes from v1:
- fixed order of chipsets in documentation and removed ordering
from it
Paweł Chmiel (3):
drm/exynos: rotator: Add support for s5pv210
dt-bindings: gpu: samsung-rotator: Document s5pv210 support
ARM: dts: s5pv210: Add node for …
[View More]exynos-rotator
.../bindings/gpu/samsung-rotator.txt | 7 +++---
arch/arm/boot/dts/s5pv210.dtsi | 9 ++++++++
drivers/gpu/drm/exynos/exynos_drm_rotator.c | 23 +++++++++++++++++++
3 files changed, 36 insertions(+), 3 deletions(-)
--
2.17.1
[View Less]
Hi Sean, Maarten & Maxime -
I embarked on removing drmP.h includes from i915, but that requires a
bunch of drm header cleanup to add relevant includes and forward
declarations. Due to the timing, propagating the patches back to i915
would take eons, so Daniel suggested a topic branch to be merged both to
drm-misc-next and drm-intel-next-queued. So here it is, with $(git
merge-base drm-misc-next drm-intel-next-queued) as the starting point.
The topic branch has been part of drm-tip since, …
[View More]uh, last year, but I
did just force push it to update the commit messages to reflect
Laurent's review. No code changes.
I'll merge the same thing to i915 after it's been pulled to
drm-misc-next, and with this, I should be able to get rid of all drmP.h
includes in i915.
BR,
Jani.
The following changes since commit b4bf44d2dcbd6c35d9651bc6286e4940b8b3df95:
drm/i915: Update DRIVER_DATE to 20181122 (2018-11-22 16:49:47 +0200)
are available in the git repository at:
git://anongit.freedesktop.org/drm/drm-intel tags/topic/drmp-cleanup-2019-01-02
for you to fetch changes up to dd7ece7f6e220e4d1a2a8ba4c42622d7d73e6376:
drm: forward declare struct drm_file in drm_syncobj.h (2019-01-02 11:38:08 +0200)
----------------------------------------------------------------
Make some drm headers self-contained with includes and forward declarations
----------------------------------------------------------------
Jani Nikula (5):
drm: un-inline drm_legacy_findmap()
drm: include kernel.h and agp_backend.h from intel-gtt.h
drm: include idr.h from drm_file.h
drm: include types.h from drm_hdcp.h
drm: forward declare struct drm_file in drm_syncobj.h
drivers/gpu/drm/drm_bufs.c | 11 +++++++++++
include/drm/drm_file.h | 1 +
include/drm/drm_hdcp.h | 2 ++
include/drm/drm_legacy.h | 14 ++++----------
include/drm/drm_syncobj.h | 4 +++-
include/drm/intel-gtt.h | 3 +++
6 files changed, 24 insertions(+), 11 deletions(-)
--
Jani Nikula, Intel Open Source Graphics Center
[View Less]
Hi Dave, Daniel,
Here is the first PR for 5.1 for drm-misc-next.
This is my first PR ever for drm-misc, so please let me know if I
screwed up somehow :)
Thanks!
Maxime
drm-misc-next-2019-01-07-1:
drm-misc-next for 5.1:
UAPI Changes:
Cross-subsystem Changes:
- Turn dma-buf fence sequence numbers into 64 bit numbers
Core Changes:
- Move to a common helper for the DP MST hotplug for radeon, i915 and
amdgpu
- i2c improvements for drm_dp_mst
- Removal of drm_syncobj_cb
- …
[View More]Introduction of an helper to create and attach the TV margin properties
Driver Changes:
- Improve cache flushes for v3d
- Reflection support for vc4
- HDMI overscan support for vc4
- Add implicit fencing support for rockchip and sun4i
- Switch to generic fbdev emulation for virtio
The following changes since commit 0b258ed1a219a9776e8f6967eb34837ae0332e64:
drm: revert "expand replace_fence to support timeline point v2" (2018-12-05 11:01:11 +0100)
are available in the Git repository at:
git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-01-07-1
for you to fetch changes up to 1c95f662fceeb8ae2f34e3de9478e21fd31f09dd:
Merge tag 'topic/drmp-cleanup-2019-01-02' of git://anongit.freedesktop.org/drm/drm-intel into drm-misc-next (2019-01-07 16:43:24 +0100)
----------------------------------------------------------------
drm-misc-next for 5.1:
UAPI Changes:
Cross-subsystem Changes:
- Turn dma-buf fence sequence numbers into 64 bit numbers
Core Changes:
- Move to a common helper for the DP MST hotplug for radeon, i915 and
amdgpu
- i2c improvements for drm_dp_mst
- Removal of drm_syncobj_cb
- Introduction of an helper to create and attach the TV margin properties
Driver Changes:
- Improve cache flushes for v3d
- Reflection support for vc4
- HDMI overscan support for vc4
- Add implicit fencing support for rockchip and sun4i
- Switch to generic fbdev emulation for virtio
----------------------------------------------------------------
Archit Taneja (1):
MAINTAINERS: drm: Remove myself as drm-bridge maintainer
Boris Brezillon (7):
drm/vc4: Fix negative X/Y positioning on SAND planes
drm/vc4: Add support for X/Y reflection
drm/connector: Fix drm_mode_create_tv_properties() doc
drm/connector: Clarify the unit of TV margins
drm/connector: Allow creation of margin props alone
drm/vc4: Take margin setup into account when updating planes
drm/vc4: Attach margin props to the HDMI connector
Brajeswar Ghosh (1):
drm/drm_drv.c: Remove duplicate header
Chris Wilson (1):
drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
Christian König (4):
drm/v3d: fix broken build
dma-buf: make fence sequence numbers 64 bit v2
drm/etnaviv: fix for 64bit seqno change
drm/syncobj: remove drm_syncobj_cb and cleanup
Dan Carpenter (2):
drm: Fix an error pointer dereference()
drm/ati_pcigart: Fix error code in drm_ati_pcigart_init()
Daniel Vetter (3):
drm/dp-mst-helper: Remove hotplug callback
drm/qxl: Don't set the dpms hook
drm/xen: Don't set the dpms hook
Eric Anholt (6):
drm/v3d: Document cache flushing ABI.
drm/v3d: Drop unused v3d_flush_caches().
drm/v3d: Don't bother flushing L1TD at job start.
drm/v3d: Drop the wait for L2T flush to complete.
drm/v3d: Stop trying to flush L2C on V3D 3.3+
drm/v3d: Invalidate the caches from the outside in.
Gerd Hoffmann (3):
drm/qxl: add spice-devel list to MAINTAINERS
drm/virtio: switch to generic fbdev emulation
drm/bochs: add edid present check
Heiko Stuebner (1):
drm/rockchip: Add implicit fencing support for planes
Jani Nikula (5):
drm: un-inline drm_legacy_findmap()
drm: include kernel.h and agp_backend.h from intel-gtt.h
drm: include idr.h from drm_file.h
drm: include types.h from drm_hdcp.h
drm: forward declare struct drm_file in drm_syncobj.h
Kuninori Morimoto (1):
drm: dw-hdmi-i2s: convert to SPDX identifiers
Lyude Paul (3):
drm/dp_mst: Fix memory leak in drm_dp_mst_topology_mgr_destroy()
drm/dp_mst: Remove bogus conditional in drm_dp_update_payload_part1()
drm/dp_mst: Refactor drm_dp_update_payload_part1()
Maxime Ripard (1):
Merge tag 'topic/drmp-cleanup-2019-01-02' of git://anongit.freedesktop.org/drm/drm-intel into drm-misc-next
Mika Kuoppala (1):
drm/i915: Compile fix for 64b dma-fence seqno
Rob Clark (1):
drm/atomic: integrate modeset lock with private objects
Sam Ravnborg (1):
drm: move DRM_IF_VERSION to drm_internal.h
Shayenne da Luz Moura (2):
drm: Rename crtc_idr as object_idr to KMS cleanups
drm: Remove complete task from TODO documentation
Ville Syrjälä (2):
drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
drm/dp/mst: Validate REMOTE_I2C_READ harder
Yangtao Li (1):
dma-buf: Change to use DEFINE_SHOW_ATTRIBUTE macro
YueHaibing (2):
drm/ast: Remove set but not used variable 'bo'
drm: Fix error handling in drm_legacy_addctx
emersion (1):
drm/vkms: set preferred depth to 24
Documentation/gpu/todo.rst | 3 -
MAINTAINERS | 2 +-
drivers/dma-buf/dma-buf.c | 12 +-
drivers/dma-buf/dma-fence.c | 2 +-
drivers/dma-buf/sw_sync.c | 2 +-
drivers/dma-buf/sync_debug.c | 16 +-
drivers/dma-buf/sync_file.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | 2 +-
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 9 -
drivers/gpu/drm/ast/ast_fb.c | 2 -
drivers/gpu/drm/ati_pcigart.c | 7 +-
drivers/gpu/drm/bochs/bochs_hw.c | 7 +
.../gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 5 +-
drivers/gpu/drm/drm_atomic.c | 19 +-
drivers/gpu/drm/drm_bufs.c | 11 ++
drivers/gpu/drm/drm_connector.c | 91 +++++++---
drivers/gpu/drm/drm_context.c | 15 +-
drivers/gpu/drm/drm_dp_mst_topology.c | 109 +++++++-----
drivers/gpu/drm/drm_drv.c | 1 -
drivers/gpu/drm/drm_internal.h | 2 +
drivers/gpu/drm/drm_lease.c | 6 +-
drivers/gpu/drm/drm_mode_config.c | 5 +-
drivers/gpu/drm/drm_mode_object.c | 13 +-
drivers/gpu/drm/drm_modeset_lock.c | 8 +
drivers/gpu/drm/drm_syncobj.c | 91 ++++------
drivers/gpu/drm/etnaviv/etnaviv_gem.c | 2 +-
drivers/gpu/drm/i915/i915_gem.c | 4 +-
drivers/gpu/drm/i915/i915_gem_context.c | 8 +-
drivers/gpu/drm/i915/i915_request.c | 12 +-
drivers/gpu/drm/i915/i915_sw_fence.c | 2 +-
drivers/gpu/drm/i915/intel_dp_mst.c | 10 --
drivers/gpu/drm/i915/intel_engine_cs.c | 2 +-
drivers/gpu/drm/i915/intel_lrc.c | 6 +-
drivers/gpu/drm/i915/selftests/intel_hangcheck.c | 14 +-
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 2 +-
drivers/gpu/drm/nouveau/dispnv50/disp.c | 8 -
drivers/gpu/drm/qxl/qxl_display.c | 1 -
drivers/gpu/drm/r128/r128_cce.c | 5 +-
drivers/gpu/drm/radeon/radeon_dp_mst.c | 9 -
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 +
drivers/gpu/drm/tegra/hub.c | 2 +-
drivers/gpu/drm/v3d/v3d_drv.h | 1 -
drivers/gpu/drm/v3d/v3d_gem.c | 62 ++-----
drivers/gpu/drm/vc4/vc4_crtc.c | 43 +++++
drivers/gpu/drm/vc4/vc4_drv.h | 3 +
drivers/gpu/drm/vc4/vc4_hdmi.c | 16 ++
drivers/gpu/drm/vc4/vc4_kms.c | 3 +-
drivers/gpu/drm/vc4/vc4_plane.c | 128 ++++++++++++--
drivers/gpu/drm/vgem/vgem_fence.c | 4 +-
drivers/gpu/drm/virtio/virtgpu_display.c | 1 -
drivers/gpu/drm/virtio/virtgpu_drv.c | 9 +-
drivers/gpu/drm/virtio/virtgpu_drv.h | 14 --
drivers/gpu/drm/virtio/virtgpu_fb.c | 191 ---------------------
drivers/gpu/drm/virtio/virtgpu_kms.c | 8 -
drivers/gpu/drm/vkms/vkms_drv.c | 1 +
drivers/gpu/drm/xen/xen_drm_front_conn.c | 1 -
include/drm/drmP.h | 2 -
include/drm/drm_atomic.h | 37 +++-
include/drm/drm_connector.h | 4 +-
include/drm/drm_dp_mst_helper.h | 2 -
include/drm/drm_file.h | 1 +
include/drm/drm_hdcp.h | 2 +
include/drm/drm_legacy.h | 14 +-
include/drm/drm_mode_config.h | 23 ++-
include/drm/drm_syncobj.h | 23 +--
include/drm/intel-gtt.h | 3 +
include/linux/dma-fence.h | 22 ++-
include/uapi/drm/v3d_drm.h | 8 +
68 files changed, 579 insertions(+), 580 deletions(-)
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
[View Less]
Hello.
After upgrading the kernel to 4.20, I noticed that the boot time
increased from about 5 seconds to 25 seconds. My machine is an Asus
K53SV with an Intel i7-2630QM, i.e. Sandy Bridge. I have an external
display connected to it via HDMI. If the display is unplugged when
booting the machine, the boot time stays at its old value.
The kernel log shows two messages like this :
[ 15.747206] [drm:drm_atomic_helper_wait_for_flip_done
[drm_kms_helper]] *ERROR* [CRTC:39:pipe A] flip_done timed …
[View More]out
[ 26.198968] [drm:drm_atomic_helper_wait_for_dependencies
[drm_kms_helper]] *ERROR* [CRTC:39:pipe A] flip_done timed out
Which are the only ones that don't appear in 4.19.2, where the boot
time was smaller. Bisecting the commits between these two versions
leads to commit 516a49cc19467e298d08a404f73a6e311f4548d1.
Let me know if you need more information.
Kind regards,
Daniel
[View Less]
This is a partial revert of commit 5c63e407aaab ("fbdev: Convert to
using %pOFn instead of device_node.name"). This is the minimal work to
get a Mac Mini G4 back to a bootable state. The function
offb_init_palette_hacks would need to handle the case where `name` has
been set to NULL.
Cc: Rob Herring <robh(a)kernel.org>
Fixes: 5c63e407aaab ("fbdev: Convert to using %pOFn instead of device_node.name")
Cc: stable(a)vger.kernel.org # v4.19+
Signed-off-by: Mathieu Malaterre <malat(a)debian.…
[View More]org>
---
drivers/video/fbdev/offb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c
index 31f769d67195..6e75851f8142 100644
--- a/drivers/video/fbdev/offb.c
+++ b/drivers/video/fbdev/offb.c
@@ -648,7 +648,7 @@ static void __init offb_init_nodriver(struct device_node *dp, int no_real_node)
/* kludge for valkyrie */
if (strcmp(dp->name, "valkyrie") == 0)
address += 0x1000;
- offb_init_fb(no_real_node ? "bootx" : NULL,
+ offb_init_fb(no_real_node ? "bootx" : dp->name,
width, height, depth, pitch, address,
foreign_endian, no_real_node ? NULL : dp);
}
--
2.19.2
[View Less]