• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


RSS
Rev. Time Author
31ca7cf 2015-02-04 12:06:57 Chris Wilson

dri: Update region's width/height on every PutSurface

Currently we expect that if a surface changes size, we will be given a
new buffer with a new name. This is not always true as the ddx may try
to keep the same buffer for the client if it is large enough for the new
size. Since we always know the width/height of the buffer, we can pass
that information along every time into the intel_region struct.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Cc: Dmitry Ermilov <dmitry.ermilov@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
Tested-by: Sean V Kelley <seanvk@posteo.de>

a83bf50 2015-02-03 15:17:35 Xiang, Haihao

The SEND with EOT message must use R112-R127 for message payload on GEN7+

EOT message on GEN9 has used R112-R127, but the same message on GEN7-GEN8 still uses
other registers. To avoid potential issues, use R112-R127 on GEN7-GEN8 too

In additition, GEN7-GEN9 use the same 'write' message, so factor out the same
code to exa_wm_write.g7i in this patch

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>

9ba21ae 2015-02-03 15:17:10 Xiang, Haihao

VC1: No overlap smoothing if the overlap flag is 0

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>

44ed84c 2015-02-03 15:15:57 Xiang, Haihao

Disable upper bound check for decoding on BDW+

We saw pixel corruption in stress test with the wrong up-bound address.
For simplicity, disable upper bound check in the driver.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Tested-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>

4307780 2015-02-03 15:15:25 Xiang, Haihao

Use VMask instead of DMask in 3DSTATE_PS on GEN8+

Mesa uses VMask instead of DMask in 3DSTATE_PS.
"Initialize the execution mask with VMask. Otherwise, derivatives are
incorrect for subspans where some of the pixels are unlit. We believe
the bit just didn't take effect in previous generations."

To avoid potential issue, use VMask in libva too.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>

bf324e3 2015-01-29 13:01:21 Michael Olbrich

add missing include

Without this building without HAVE_VA_X11 fails with:
[...]
In file included from i965_drv_video.c:37:0:
i965_output_wayland.h:31:26: error: unknown type name 'VADriverContextP'
i965_output_wayland.h:34:31: error: unknown type name 'VADriverContextP'
i965_drv_video.c:5243:9: error: 'i965_output_wayland_init' undeclared here (not in a function)
i965_drv_video.c:5244:9: error: 'i965_output_wayland_terminate' undeclared here (not in a function)
[....]

3d16cf0 2015-01-23 15:42:13 Sreerenj Balachandran

Fix the GetConfigAttributes() for JPEGBaseline profile

Advertise the PACKED_RAW_DATA header support for JPEGEncoding.

7e444da 2015-01-14 12:59:48 Xiang, Haihao

Update license header for some shaders

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>

ce682a7 2015-01-14 12:03:37 Joe Konno

BDW+: disable SGVS

BDW introduces separate packets for controlling instancing and system
generated values (eg vertex id and instance id). We don't use
instancing, but still need to disable sgvs to avoid undefined behaviour
when some other driver (mesa) uses it.

Signed-off-by: Joe Konno <joe.konno@intel.com>
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Daniel Charles <daniel.charles@intel.com>
(cherry picked from commit 4caa37b895d39af754e2b2307879752130731f56)

1a4e983 2015-01-12 21:35:34 Zhao Yakui

i965 render: Explicitly disable instancing for vertex elements on Skylake

We really should guarantee that vertex elements non-instanced,
especially since we don't use our own hardware context - other
programs can change this on us.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Sean V Kelley <seanvk@posteo.de>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 96278cab8cbc029d72ef2aa3b4728a722eceba1f)

ebd9677 2015-01-12 21:35:32 Kenneth Graunke

i965 render: Explicitly disable instancing for vertex elements on Gen8

We really should guarantee that vertex elements non-instanced,
especially since we don't use our own hardware context - other
programs can change this on us.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit e079591f2ed4dbfaad309c95aa1a1ddb00eb80e8)

a687810 2015-01-09 15:51:01 Xiang, Haihao

Fix segmentation fault caused by 4711da5

The corresponding pointer is NULL if VAProcFilterSkinToneEnhancement
isn't enabled in the pipeline

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 8596cb68e85a5708e05b9b49510ca52dd3d0a468)

757c510 2015-01-09 15:50:27 Sirisha Muppavarapu

STDE Optimization: Added code to support optimization of Skin Tone Detection and Enhancement for stde factors 0(default), 3, 6, and 9.

(cherry picked from commit 4711da55046cb9bd3fa26065869d8c3bcfc9f39a)

f5dc5f3 2015-01-07 13:50:51 Zhao Yakui

Fix the broken attribute setting of i965_GetConfigAttrib

Now the some attributes are incorrectly reported. It is not supported while
VA_ATTRIB_NOT_SUPPORTED flag is not returned.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Xiang Haihao <haihao.xiang@intel.com>
(cherry picked from commit dd23d450f5b2b70c36a0053a0892c0ff1e32e8cf)

5c23924 2015-01-06 14:35:05 Antti Seppälä

Fix scaling of NV12 surfaces when no output_region is set

The code block filling destination surface target rectangle is too early
and incorrectly fills input surface width & height as final target width
and height. This results in improper scaling of the source surface.

Move the destination code block further below the point when actual
target surface is referenced and its width and height are known and use
them to fill the destination rectangle.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

fd8cac3 2015-01-06 14:16:41 Antti Seppälä

Fix forward reference requirement for Bob deinterlacing in intel-driver

Remove stray semicolon to fix condition check for forward reference surface
count in vaQueryVideoProcPipelineCaps.

This fix allows the pipeline query to return 0 forward references for Bob
deinterlacer.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

43bd81a 2014-12-29 15:56:57 Xiang, Haihao

1.5.1.pre1 for development

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 939ef3f0031ec404a32e926471e2961bb2079fde)

86f8468 2014-12-29 15:30:49 Xiang, Haihao

Intel driver 1.5.0

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 83b833a19ef72b07e8a103d8e8c59fcb779f2ff6)

d0f9e1a 2014-12-29 15:30:30 Xiang, Haihao

Update NEWS

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 8583cfa22c086f01e00bbdb3ce8883f93dcf2e37)

0a992e0 2014-12-29 15:30:09 Xiang, Haihao

Update the dependency on VAAPI and intel-gen4asm

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 3098efb04abf2dca24559bc2bb2d7ab1697484a2)

63864df 2014-12-29 14:58:10 Xiang, Haihao

configure: bump to 1.5.0.pre1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 78d8bccf19ec47fb517e7d6140a5faad360a20a7)

Conflicts:
configure.ac

94cff41 2014-12-29 10:08:29 Zhenyu Wang

Use libdrm to get device id

Instead of call ioctl by ourself, use libdrm interface to get device id.
This not only saves one ioctl call as is done when gem bufmgr init. It
also allows to use libdrm's device id override helper envionment "INTEL_DEVID_OVERRIDE".

If you override device id combined with aub dump enable, you can get aub
file to debug it under emulator for any device that you might not have real
HW metal.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 1879d37119ef65aaf0fbb63c7f5a60390ae64f27)

54ec3c6 2014-12-29 10:08:27 Zhenyu Wang

Add new debug option for aub dump

New VA debug option to dump aub file.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 9509ac69a5fdb6f60b471ebc32e767cecaa72268)

b5d6d9d 2014-12-15 13:54:01 Xiang, Haihao

Use intel_batchbuffer_free() to free a batch buffer

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>

aa10929 2014-12-15 13:53:46 Xiang, Haihao

Fix misused dri_bo_reference()

The object returned from dri_bo_alloc() has been referenced.

This commit fixes https://bugs.freedesktop.org/show_bug.cgi?id=86913

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>

5fdfdf4 2014-12-15 13:53:30 Xiang, Haihao

Fix the broken out of tree builds

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>

09a6b00 2014-12-15 13:53:05 Xiang, Haihao

Fix the build of H.264 encoding shaders for SKL

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>

70aab9b 2014-12-15 13:52:19 Xiang, Haihao

Fix 'make dist'

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>

1fda4a2 2014-12-15 00:18:10 Xiang, Haihao

Sync NEWS with v1.4-branch

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>

b6bbb96 2014-12-14 01:42:17 Xiang, Haihao

Add support for quality level for H.264 encoding on SKL

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 422be2d36a6ef35bd886947717e969e3cf1d4101)