Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I915 cleanup android #2

Open
wants to merge 11 commits into
base: i915_cleanup
Choose a base branch
from
Open

I915 cleanup android #2

wants to merge 11 commits into from

Conversation

dvrogozh
Copy link
Owner

@dvrogozh dvrogozh commented Nov 8, 2018

No description provided.

This change moves vdbox balancing under MEDIA_EXT define. Configure
driver build as follows to get support of this feature:
  cmake -DMEDIA_EXT=ON /path/to/media-driver
By default it is disabled

Change-Id: Ia89e4beb1d3bdf681efbf40d9fb5159fe3663be3
Signed-off-by: Dmitry Rogozhkin <[email protected]>
This change moves sseu under MEDIA_EXT define. Configure
driver build as follows to get support of this feature:
  cmake -DMEDIA_EXT=ON /path/to/media-driver
By default it is disabled.

Change-Id: Ifdba7d12207a075fad11722fce4e7bc547b9b227
Signed-off-by: Dmitry Rogozhkin <[email protected]>
Change-Id: Ic9d70835e3c51a79b1f0404e13f861d920c8f7ea
Signed-off-by: Dmitry Rogozhkin <[email protected]>
This patch removes all Android customizations except pad_to_size
support which actually landed upstream. It will be enabled in one
of the next patches.

Change-Id: Ib7c8b190e35ee839c95de21863e4ff58a827d75e
Signed-off-by: Dmitry Rogozhkin <[email protected]>
i915 driver got DRM_I915_PERF_* ioctls support. Custom  DRM_I915_PERFMON
should no longer be needed.

Change-Id: I2c1538c84b4565eacfcc94ee5c85c8c267f393f2
Signed-off-by: Dmitry Rogozhkin <[email protected]>
These ioctls seems not being used anywhere in media driver:
 * DRM_I915_GEM_ACCESS_USERDATA
 * define DRM_I915_CMD_PARSER_APPEND
 * define DRM_I915_EXT_IOCTL

Change-Id: I729404ac854fe6510c719a1fd0dfef577800d960
Signed-off-by: Dmitry Rogozhkin <[email protected]>
Upstream i915 driver got support for pad_to_size.

WARNING: this patch changes definition of EXEC_OBJECT_PAD_TO_SIZE
from (custom):
  #define EXEC_OBJECT_PAD_TO_SIZE (1<<4)
to (upstream):
  #define EXEC_OBJECT_PAD_TO_SIZE (1<<5)
It is required for Android kernels to be adjusted correspondingly, i.e.
aligned with the afficial upstream version.

Change-Id: Ibf4c06b792cda2d4a117aa46411c0db9f6afdbfd
Signed-off-by: Dmitry Rogozhkin <[email protected]>
After this change:
 * i915_drm_mock.h - fully synced with upstream
 * i915_drm.h - still contains few Android customizations

Change-Id: I6fba9ce1691b362128ea5deedaf63737f69ed9bb
Signed-off-by: Dmitry Rogozhkin <[email protected]>
Removed unused Android customizations for 'struct drm_i915_gem_create':

Change-Id: I1c054841533700575b83d47e0915a1cd553370d4
Signed-off-by: Dmitry Rogozhkin <[email protected]>
Fence stuff is not used on Androd in media driver and can be removed.

Change-Id: I91b3c47934ecdd05de655903827e9f52f3780fe0
Signed-off-by: Dmitry Rogozhkin <[email protected]>
Change-Id: Ieeb4eabad8f0b4a90b313c86b682084cbaeb869f
Signed-off-by: Dmitry Rogozhkin <[email protected]>
@dvrogozh
Copy link
Owner Author

dvrogozh commented Nov 8, 2018

@XinfengZhang : can you, please, discuss this PR internally. I am more or less confident that this is ok for the media driver: I don't see that we use anything that I have deleted. I am less confident for non-media-driver...

This PR does not mean that we are done. We will still need your PR #1, but it will be simpler now...

dvrogozh pushed a commit that referenced this pull request Nov 14, 2019
Fix linux perf fail

Change-Id: Id8391035b6a903f035204043d031893217755860
dvrogozh pushed a commit that referenced this pull request Nov 14, 2019
Fix MAV issues group #2 on ICL for gfx-driver-user-comp_media-17172

Change-Id: Icd9c55aac5cfa1a67c85aa83f0b5a9b1ba7c6f6d
dvrogozh pushed a commit that referenced this pull request Nov 14, 2019
AVC/VP9/HEVC: Allocate internal histogram resource to get histogram and use huc copy to app allocated resource
Change-Id: I1b93a5a93ce871f54dedc4cd2b4bb1564bdaa6fb
dvrogozh pushed a commit that referenced this pull request Mar 20, 2020
Change-Id: Ib4713948ed1ca0f6c9cb465cee9fb6e995fe5cc8
dvrogozh pushed a commit that referenced this pull request Mar 20, 2020
SVN backmerge - Encoder codechal gen11 changes #2

Change-Id: Ib6b3873a4519482380bfa61efd316b409528c993
dvrogozh pushed a commit that referenced this pull request Oct 16, 2020
Implement lmem policy

Change-Id: I5a51f4c1cdf9f8fffac902f4c278bd73d2e09270
dvrogozh pushed a commit that referenced this pull request Oct 16, 2020
[Encode] Release unused pointer in GEN12 HEVC codec
Release unused pointer in GEN12 HEVC codec to get avoid of memory leak #2

Change-Id: I9575873f159c333adb40f23b8cecaa85c3d41b77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant