Rely on -fvisibility=hidden to hide the symbols. This only applies to
drm_intel.so sice there's no point in extending this if it receives a
nack for some reason. For the same reason, only done on meson as well.
drm_private can also be removed from other symbols. If this passes a
smoke test I'll add a patch on v2 doing so.
>From git log archeology and mention in another thread we used to pass
-fvisibility=hidden, but reverted to the contrary due to bug in obscure
toolchain some years ago (…
[View More]see 0f8da82500ec542e269092c0718479e25eaff5f6).
I think it's time to revisit that decision: we have plenty of other
projects doing that nowadays without problem.
Lucas De Marchi (2):
intel: annotate public functions
meson: intel: make symbols hidden by default
intel/intel_bufmgr.c | 64 +++++++++++++++++-----------------
intel/intel_bufmgr_fake.c | 10 +++---
intel/intel_bufmgr_gem.c | 73 +++++++++++++++++++--------------------
intel/intel_decode.c | 14 ++++----
intel/meson.build | 4 ++-
libdrm_macros.h | 2 ++
6 files changed, 85 insertions(+), 82 deletions(-)
--
2.17.1
[View Less]
https://bugs.freedesktop.org/show_bug.cgi?id=107873
Timothy Arceri <t_arceri(a)yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|mesa-dev(a)lists.freedesktop. |dri-devel(a)lists.freedesktop
|org |.org
Assignee|mesa-dev(a)lists.freedesktop. |dri-devel(a)lists.freedesktop
|org …
[View More] |.org
Component|Drivers/Vulkan/radeon |Drivers/Gallium/radeonsi
--- Comment #5 from Timothy Arceri <t_arceri(a)yahoo.com.au> ---
Ok I think this is a regression with wine staging. First of all I can confirm
this is not a RADV bug setting +r_renderapi 1 in launch options for steam
launches the Vulkan path and its working fine.
As for the GL path it is using EXT_direct_state_access even though he don't
advertise it. This seems to be a regression in wine staging and I've seen the
same issue with Wolfenstein: The Old Blood recently.
I'm moving this bug to radeonsi for now but I'm tempted to close as not our
bug.
--
You are receiving this mail because:
You are the assignee for the bug.
[View Less]
https://bugs.freedesktop.org/show_bug.cgi?id=107509
--- Comment #8 from Timothy Arceri <t_arceri(a)yahoo.com.au> ---
Payday 2 is fine for me on my RX480, mesa git, llvm 8.0 git, 4.17.18 kernel.
--
You are receiving this mail because:
You are the assignee for the bug.
Hi Linus,
I'm sending this separately as it's a bit larger than I generally like
for one driver, but it does contain a bunch of make my nvidia laptop
not die (runpm) and a bunch of make my docking station and monitor
display stuff (mst) fixes.
Lyude has spent a lot of time on these, and we are putting the fixes
into distro kernels as well asap, as it helps a bunch of standard
Lenovo laptops, so I'm fairly happy things are better than they were
before these patches, but I decided to split them …
[View More]out just for
clarification.
I'll have a normal -fixes pull tomorrow most likely.
Dave.
drm-fixes-2018-09-12:
nouveau runpm and MST race fixes.
The following changes since commit 11da3a7f84f19c26da6f86af878298694ede0804:
Linux 4.19-rc3 (2018-09-09 17:26:43 -0700)
are available in the Git repository at:
git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2018-09-12
for you to fetch changes up to 2887e5ce15ddaa2f9a19e66f7462bbf0fe6867e0:
Merge branch 'linux-4.19' of git://github.com/skeggsb/linux into
drm-fixes (2018-09-11 16:54:46 +1000)
----------------------------------------------------------------
nouveau runpm and MST race fixes.
----------------------------------------------------------------
Ben Skeggs (7):
drm/nouveau: fix oops in client init failure path
drm/nouveau/mmu: don't attempt to dereference vmm without valid
instance pointer
drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
drm/nouveau/disp: remove unused struct member
drm/nouveau/disp: move eDP panel power handling
drm/nouveau/disp: fix DP disable race
drm/nouveau/disp/gm200-: enforce identity-mapped SOR assignment
for LVDS/eDP panels
Dave Airlie (1):
Merge branch 'linux-4.19' of git://github.com/skeggsb/linux into drm-fixes
Lyude Paul (13):
drm/nouveau/drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend()
drm/nouveau/drm/nouveau: Fix deadlock with fb_helper with async
RPM requests
drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in
connector_detect()
drm/nouveau: Fix deadlocks in nouveau_connector_detect()
drm/nouveau: Remove useless poll_enable() call in switcheroo_set_state()
drm/nouveau: Remove useless poll_disable() call in switcheroo_set_state()
drm/nouveau: Remove useless poll_enable() call in drm_load()
drm/nouveau: Only write DP_MSTM_CTRL when needed
drm/nouveau: Reset MST branching unit before enabling
drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early
drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload
drm/nouveau: Fix nouveau_connector_ddc_detect()
drivers/gpu/drm/nouveau/dispnv50/disp.c | 67 +++++++++----
drivers/gpu/drm/nouveau/nouveau_connector.c | 110 +++++++++++----------
drivers/gpu/drm/nouveau/nouveau_display.c | 44 ++++++---
drivers/gpu/drm/nouveau/nouveau_display.h | 2 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 21 ++--
drivers/gpu/drm/nouveau/nouveau_fbcon.c | 57 +++++++++++
drivers/gpu/drm/nouveau/nouveau_fbcon.h | 5 +
drivers/gpu/drm/nouveau/nouveau_vga.c | 2 -
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c | 14 +++
drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c | 54 ++++++++--
drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c | 6 +-
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c | 18 +++-
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h | 5 +-
.../gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c | 3 +-
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +-
16 files changed, 297 insertions(+), 114 deletions(-)
[View Less]
Function intel_port_to_tc() returns PORT_TC_NONE on error, which is
a negative value -1. In case PORT_TC_NONE is returned, there is an
undefined behavior when shifting by a negative number of bits in
both DP_PHY_MODE_STATUS_NOT_SAFE and P_PHY_MODE_STATUS_COMPLETED
macros.
Fix this by adding sanity checks on intel_port_to_tc return value, before
using macros DP_PHY_MODE_STATUS_NOT_SAFE and P_PHY_MODE_STATUS_COMPLETED.
Addresses-Coverity-ID: 1473324 ("Bad bit shift operation")
Addresses-…
[View More]Coverity-ID: 1473325 ("Bad bit shift operation")
Fixes: 39d1e234e1e1 ("drm/i915/icl: implement the tc/legacy HPD {dis,}connect flows")
Signed-off-by: Gustavo A. R. Silva <gustavo(a)embeddedor.com>
---
drivers/gpu/drm/i915/intel_dp.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 436c22d..e34b7b1 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -4811,6 +4811,11 @@ static bool icl_tc_phy_connect(struct drm_i915_private *dev_priv,
dig_port->tc_type != TC_PORT_TYPEC)
return true;
+ if (tc_port < 0) {
+ DRM_DEBUG_KMS("Bad TC port %d\n", tc_port);
+ return false;
+ }
+
val = I915_READ(PORT_TX_DFLEXDPPMS);
if (!(val & DP_PHY_MODE_STATUS_COMPLETED(tc_port))) {
DRM_DEBUG_KMS("DP PHY for TC port %d not ready\n", tc_port);
@@ -4857,6 +4862,10 @@ static void icl_tc_phy_disconnect(struct drm_i915_private *dev_priv,
dig_port->tc_type != TC_PORT_TYPEC)
return;
+ if (tc_port < 0) {
+ DRM_DEBUG_KMS("Bad TC port %d\n", tc_port);
+ return;
+ }
/*
* This function may be called many times in a row without an HPD event
* in between, so try to avoid the write when we can.
--
2.7.4
[View Less]
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.20-wip
head: d8de8260a45aae8f74af77eae9a162bdc0ed48d2
commit: e498eb7136042aa9a352b1039c678537f4694158 [220/310] drm/amd/display: Add support for hw_state logging via debugfs
coccinelle warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c:771:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Please review and possibly fold the followup patch.
---
0-DAY kernel test …
[View More]infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[View Less]
These patches enable packed format YUV422-Y210, Y212 and Y216
for 10, 12 and 16 bit respectively for ICL.
For user space component IGT:WIP
v2: addressed review comments of mahesh and alexandru
hdr handling of these 64 bit pixel format not inscope
of this series
Vidya Srinivas (4):
drm: Add Y210, Y212, Y216 format definitions and fourcc
drm/i915/icl: Add Y210, Y212, Y216 plane control definitions
drm/i915/icl: Preparations for enabling Y210, Y212, Y216 formats
drm/i915/icl: …
[View More]Enable Y210, Y212, Y216 format for primary and sprite
planes
drivers/gpu/drm/drm_fourcc.c | 3 +++
drivers/gpu/drm/i915/i915_reg.h | 3 +++
drivers/gpu/drm/i915/intel_display.c | 40 ++++++++++++++++++++++++++++++++++--
drivers/gpu/drm/i915/intel_sprite.c | 25 ++++++++++++++++++++--
include/uapi/drm/drm_fourcc.h | 8 ++++++++
5 files changed, 75 insertions(+), 4 deletions(-)
--
1.9.1
[View Less]
Hi,
This is the second round of RFC for adding a bunch of new YUV formats
for Mali/AFBC. I've included a proper AFBC documentation file too, for
posterity.
Some of the new formats don't have an integer number of
bytes-per-pixel, so I've added a bpp field to drm_format_info
(patch 1), keen to hear thoughts on that.
These three patches don't make a huge amount of sense in isolation, so
we'll pull them into a more comprehensive series for AFBC support to
merge them later.
Thanks,
-Brian
Brian …
[View More]Starkey (3):
drm/fourcc: Add 'bpp' field for formats with non-integer
bytes-per-pixel
drm/fourcc: Add remaining fourccs for Mali
drm/afbc: Add AFBC modifier usage documentation
Documentation/gpu/afbc.rst | 226 +++++++++++++++++++++++++++
Documentation/gpu/drivers.rst | 1 +
MAINTAINERS | 1 +
drivers/gpu/drm/drm_fb_cma_helper.c | 6 +-
drivers/gpu/drm/drm_fb_helper.c | 8 +-
drivers/gpu/drm/drm_fourcc.c | 57 +++++++
drivers/gpu/drm/drm_framebuffer.c | 41 ++++-
drivers/gpu/drm/drm_gem_framebuffer_helper.c | 3 +-
include/drm/drm_fourcc.h | 4 +
include/uapi/drm/drm_fourcc.h | 17 ++
10 files changed, 351 insertions(+), 13 deletions(-)
create mode 100644 Documentation/gpu/afbc.rst
--
2.16.1
[View Less]