Re: [Intel-gfx] [PATCH 1/6] drm: Create Color Management DRM properties

2015-12-18 Thread Daniel Stone
[Paging danvet to the bottom paragraphs re client-cap ...] Hi Lionel, I've still got quite a few concerns about the implementation as it stands. Some are minor quibbles (e.g. can't unset blob IDs), some are larger design issues, some are rehashed comments from previous series, and some are new now

Re: [Intel-gfx] [PATCH 5/6] drm/i915/bdw+: Implement color management

2015-12-18 Thread Daniel Stone
Hi, On 17 December 2015 at 18:57, Lionel Landwerlin wrote: > @@ -289,22 +289,30 @@ static const struct intel_device_info > intel_haswell_m_info = { > static const struct intel_device_info intel_broadwell_d_info = { > HSW_FEATURES, > .gen = 8, > + .num_samples_after_ctm = B

Re: [Intel-gfx] [PATCH 4/6] drm/i915/chv: Implement color management

2015-12-18 Thread Daniel Stone
Hi, On 17 December 2015 at 18:57, Lionel Landwerlin wrote: > @@ -311,7 +312,9 @@ static const struct intel_device_info > intel_cherryview_info = { > .gen = 8, .num_pipes = 3, > .need_gfx_hws = 1, .has_hotplug = 1, > .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_R

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Register color correction capabilities

2015-12-18 Thread Daniel Stone
Hi, On 17 December 2015 at 18:57, Lionel Landwerlin wrote: > void intel_crtc_attach_color_properties(struct drm_crtc *crtc) > { > + struct drm_device *dev = crtc->dev; > + struct drm_mode_config *config = &dev->mode_config; > + struct drm_mode_object *mode_obj = &crtc->base; >

Re: [Intel-gfx] [PATCH] drm/atomic: allow setting a blob to NULL using id = 0

2015-12-18 Thread Daniel Stone
On 18 December 2015 at 15:17, Lionel Landwerlin wrote: > Signed-off-by: Lionel Landwerlin > --- > drivers/gpu/drm/drm_atomic.c | 12 +++- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c > index 65f007a..b8c90a

Re: [Intel-gfx] [PATCH] Allow userspace to set NULL blob on properties

2015-12-18 Thread Daniel Stone
Hi, On 18 December 2015 at 15:17, Lionel Landwerlin wrote: > A couple of people told me I should be able to set a blob property to > NULL from user space using a blob id 0. I couldn't get that to work > (probably nobody's doing this at the moment). Here is a patch to make > that work. You can't

[Intel-gfx] [PATCH] drm: i915: Wait for fences on new fb, not old

2016-10-21 Thread Daniel Stone
The previous code would wait for fences on the framebuffer from the old plane state to complete, rather than the new, so you would see tearing everywhere. Fix this to wait on the new state before we make it active. Signed-off-by: Daniel Stone Fixes: 94f050246b42 ("drm/i915: nonblocking c

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm: i915: Wait for fences on new fb, not old

2016-10-21 Thread Daniel Stone
Hi, On Friday, 21 October 2016, Patchwork wrote: > > Test gem_ringfill: > Subgroup basic-default-hang: > pass -> TIMEOUT(fi-hsw-4770r) > Subgroup basic-default-interruptible: > pass -> INCOMPLETE (fi-hsw-4770r) > Test gem_storedw_loo

Re: [Intel-gfx] [PATCH i-g-t] tests/kms_plane_lowres: Plane visibility after atomic modesets

2016-11-15 Thread Daniel Stone
Hi Mika, On 15 November 2016 at 12:38, Mika Kahola wrote: > Testcase for plane visibility after atomic modesets. The idea of the test > is the following: > > - draw a blue screen with high resolution > - enable a yellow plane, visible, in lower-left corner > - set a new lower resolution mode (

Re: [Intel-gfx] [PATCH igt 4/9] igt/vc4_wait_bo: Add a test for VC4's wait-for-BO ioctl.

2016-02-04 Thread Daniel Stone
eq(x, y), or any of the igt_assert_{eq,neq} variants, e.g. _u32 for comparing uint32_t. You can also use do_or_die(foo) as shorthand for igt_assert_eq(foo, 0). With those addressed: Reviewed-by: Daniel Stone Cheers, Daniel ___ Intel-gfx mailing list Intel-gf

Re: [Intel-gfx] Delayed mail delivery problem

2016-02-25 Thread Daniel Stone
Hi, On 25 February 2016 at 05:15, Tian, Kevin wrote: > I had some replies to this mailing list yesterday, but received below > notification: > > --- > Delivery is delayed to these recipients or groups: > > intel-gfx@lists.freedesktop.org > > Subject: RE: [RFCv2 PATCH 00/14] gvt: Hacking i915 for

Re: [Intel-gfx] [PATCH i-g-t] kms_atomic: drop unnecessary connector looping from plane_primary test

2016-02-26 Thread Daniel Stone
f a copy-paste operation. History rather than copy & paste; originally crtc_commit_*() was inlined. But the rest of your analysis is totally correct; thanks for finding this! Reviewed-by: Daniel Stone Cheers, Daniel ___ Intel-gfx maili

Re: [Intel-gfx] [i-g-t PATCH v1 07/14] lib: Map dumb buffers

2016-03-02 Thread Daniel Stone
On Wed, 2016-03-02 at 14:21 +, Chris Wilson wrote: > On Wed, Mar 02, 2016 at 03:00:14PM +0100, Tomeu Vizoso wrote: > > @@ -1006,8 +1019,9 @@ static cairo_surface_t *get_cairo_surface(int > > fd, struct igt_fb *fb) > >   create_cairo_surface__gtt(fd, fb); > >   } > >   > > -

Re: [Intel-gfx] [i-g-t PATCH v1 07/14] lib: Map dumb buffers

2016-03-02 Thread Daniel Stone
On Wed, 2016-03-02 at 14:39 +, Chris Wilson wrote: > On Wed, Mar 02, 2016 at 02:22:58PM +0000, Daniel Stone wrote: > > On Wed, 2016-03-02 at 14:21 +, Chris Wilson wrote: > > > On Wed, Mar 02, 2016 at 03:00:14PM +0100, Tomeu Vizoso wrote: > > > > - gem

Re: [Intel-gfx] [i-g-t PATCH v1 07/14] lib: Map dumb buffers

2016-03-02 Thread Daniel Stone
On Wed, 2016-03-02 at 14:54 +, Chris Wilson wrote: > On Wed, Mar 02, 2016 at 02:40:44PM +0000, Daniel Stone wrote: > > On Wed, 2016-03-02 at 14:39 +, Chris Wilson wrote: > > > Don't forget to call dirtyfb then. > > Are you talking about frontbuffer rendering

Re: [Intel-gfx] [i-g-t PATCH v1 08/14] lib: Add igt_create_bo_with_dimensions

2016-03-08 Thread Daniel Stone
Hey, On 5 March 2016 at 12:30, Daniel Vetter wrote: > On Wed, Mar 02, 2016 at 03:00:15PM +0100, Tomeu Vizoso wrote: >> +int igt_create_bo_with_dimensions(int fd, int width, int height, > > Needs gtkdoc. Also this seems to overlap in functionality with the very > recently added igt_calc_fb_size. C

Re: [Intel-gfx] [PATCH 0/5] Pipe level color management V10

2016-03-08 Thread Daniel Stone
>> Intel >> platforms. >> > This series is based of a previous set of patches by Shashank Sharma. > > Acked-by: Rob Bradford And for the non-Intel-specific parts (e.g. I haven't checked the exact maths for conversion to/from BDW fixed-point, or CH

Re: [Intel-gfx] [PATCH] drm: fix blob pointer check

2016-03-10 Thread Daniel Stone
On 10 March 2016 at 12:04, Lionel Landwerlin wrote: > Check properly that the allocated blob's pointer is valid. > > Signed-off-by: Lionel Landwerlin > Reported-by: Dan Carpenter > Cc: Daniel Stone Reviewed-by: Daniel Stone _

Re: [Intel-gfx] linux-next: problems fetching the drm-intel, etc trees

2016-12-01 Thread Daniel Stone
Hi guys, On Nov 30 2016, at 10:49 pm, Rob Clark wrote: > yeah, {cgit,anongit}.fd.o have been having problems all day.. (the ssh git urls for folks who have push access work fine).. although it has worked for me a couple times today, given enough time. > > (not sure if we have git

Re: [Intel-gfx] linux-next: problems fetching the drm-intel, etc trees

2016-12-01 Thread Daniel Stone
Hi Stephen, On 1 December 2016 at 20:45, Stephen Rothwell wrote: > On Thu, 01 Dec 2016 11:02:26 +0000 Daniel Stone wrote: >> Sorry about this, it is quite bad. I think having mirrors for the key DRM >> trees on GitHub is a good idea though, and I can get to setting that up. >&

Re: [Intel-gfx] [PATCH i-g-t v2] tests/kms_plane_lowres: Plane visibility after atomic modesets

2016-12-07 Thread Daniel Stone
Hi Mika, Thanks for respinning! On 23 November 2016 at 11:49, Mika Kahola wrote: > +bool kmstest_plane_visible(void) > +{ > + char tmp[256]; > + FILE *fid; > + bool visible = false; > + struct kmstest_resolution resolution; > + const char *mode = "r"; > + int r

[Intel-gfx] [PATCH igt] igt/kms_atomic: Match CRTC harder for special planes

2016-12-13 Thread Daniel Stone
causing plane_primary_legacy to fail; ditto for cursor. Make find_plane try harder, by preferring to return planes which are already on the requested CRTC. Signed-off-by: Daniel Stone Reported-by: Robert Foss Cc: Eric Anholt --- tests/kms_atomic.c | 13 +++-- 1 file changed, 11 insertions(+), 2 d

Re: [Intel-gfx] [PATCH 04/13] drm: Drop locking cargo-cult from drm_mode_config_init

2016-12-14 Thread Daniel Stone
On 13 December 2016 at 23:08, Daniel Vetter wrote: > This is single-threaded setup code, no need for locks. And anyway, > all properties need to be set up before the driver is registered > anyway, they can't be hot-added. > > Signed-off-by: Daniel Vetter Revie

Re: [Intel-gfx] [PATCH 3/5] drm/crtc: take references to connectors used in a modeset.

2016-04-27 Thread Daniel Stone
Hi, On 27 April 2016 at 03:03, Dave Airlie wrote: > diff --git a/drivers/gpu/drm/drm_crtc_helper.c > b/drivers/gpu/drm/drm_crtc_helper.c > index 66ca313..29b7835 100644 > --- a/drivers/gpu/drm/drm_crtc_helper.c > +++ b/drivers/gpu/drm/drm_crtc_helper.c > @@ -456,6 +456,9 @@ drm_crtc_helper_disab

Re: [Intel-gfx] [PATCH 4/5] drm/atomic: use connector references

2016-04-27 Thread Daniel Stone
Hi, On 27 April 2016 at 03:03, Dave Airlie wrote: > diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c > index 9d5e3c8..d899dac 100644 > --- a/drivers/gpu/drm/drm_atomic.c > +++ b/drivers/gpu/drm/drm_atomic.c > @@ -1179,6 +1179,15 @@ drm_atomic_set_crtc_for_connector(struct

Re: [Intel-gfx] [PATCH 4/5] drm/atomic: use connector references

2016-04-27 Thread Daniel Stone
Hi, On 27 April 2016 at 03:03, Dave Airlie wrote: > diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c > index 9d5e3c8..d899dac 100644 > --- a/drivers/gpu/drm/drm_atomic.c > +++ b/drivers/gpu/drm/drm_atomic.c > @@ -1179,6 +1179,15 @@ drm_atomic_set_crtc_for_connector(struct

[Intel-gfx] [PATCH] Revert "i965: Always use Y-tiled buffers on SKL+"

2016-05-02 Thread Daniel Stone
ommit 6a0d036483caf87d43ebe2edd1905873446c9589. Signed-off-by: Daniel Stone Cc: Ben Widawsky Cc: Topi Pohjolainen Cc: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 4 ++-- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 10 ++ src/mesa/drivers/dri/i965/intel_mipmap_tree.h

Re: [Intel-gfx] [PATCH 5/6] drm/atomic: use connector references (v2)

2016-05-03 Thread Daniel Stone
nything obviously wrong, for patches 1-5: Reviewed-by: Daniel Stone Cheers, Daniel ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH] drm/atomic: use connector references (v3)

2016-05-03 Thread Daniel Stone
et's share the embarrassment. What could possibly go wrong? Reviewed-by: Daniel Stone Cheers, Daniel ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v3 00/16] Pre-calculate SKL-style atomic watermarks

2016-05-08 Thread Daniel Stone
rom Maarten and > hopefully kicks the CI system (I never got any CI test results back from v2). For the series, with Maarten and Lyude's amendments: Tested-by: Daniel Stone I was seeing pretty savage underflows on eDP+DP SKL, but these have gone away with this patchset on top of -n

Re: [Intel-gfx] [PATCH] Revert "i965: Always use Y-tiled buffers on SKL+"

2016-05-09 Thread Daniel Stone
Hi, On 9 May 2016 at 08:05, Daniel Vetter wrote: > On Mon, May 02, 2016 at 11:38:15AM -0700, Kenneth Graunke wrote: >> On Monday, May 2, 2016 3:40:14 PM PDT Daniel Stone wrote: >> > This commit broke Weston/KMS, and presumably also xf86-video-modesetting. >> >>

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Render decompression support for Gen9 and above

2016-03-19 Thread Daniel Stone
Hi Vandana, On 18 March 2016 at 16:50, Vandana Kannan wrote: > The reason for using a plane property instead of fb modifier:- > In Android, OGL passes a render compressed buffer to hardware composer (HWC), > which would then request a flip on that buffer after checking if the target > can support

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Render decompression support for Gen9 and above

2016-03-22 Thread Daniel Stone
Hi Gary, On 21 March 2016 at 12:20, Smith, Gary K wrote: > What are the objections to this change? Exactly the same as the last time we discussed it: that you're abusing plane properties to contain fundamental properties of the buffer you want to scan out, i.e. that which naturally belongs in th

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Render decompression support for Gen9 and above

2016-03-22 Thread Daniel Stone
On 22 March 2016 at 13:30, Daniel Stone wrote: > Exactly the same as the last time we discussed it I should add that I understand your previous objection that creating framebuffers on the fly is not performant enough, and you object to the effort of managing 100 rather than 50 framebuff

Re: [Intel-gfx] [PATCH i-g-t] kms_atomic: Skip rather than fail on non-atomic drivers

2016-04-05 Thread Daniel Stone
T test when running on kernels that don't > advertise support for atomic modesetting. That was certainly the intention. Reviewed-by: Daniel Stone Cheers, Daniel ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesk

Re: [Intel-gfx] [i-g-t PATCH v1 00/14] Get a few more tests to run on !i915

2016-04-14 Thread Daniel Stone
n the library, but with those > addressed imo ready to go. Would be great if someone else (Daniel Stone?) > could check the final patches in detail before pushing, but upfront ack > from my side. I went through and reviewed the changes here, and have been happy with them after some very

Re: [Intel-gfx] [PATCH i-g-t] lib/drmtest: make DRIVER_ANY match any driver

2017-01-30 Thread Daniel Stone
Hi, On 30 January 2017 at 11:46, Petri Latvala wrote: > NAK. > > DRIVER_VGEM is omitted from DRIVER_ANY intentionally. Vgem is unable > to modeset, unable to render, practically it only supports the > vgem-specific tests. See also: lib/drmtest.c, __drm_open_driver(). Yeah, I agree with this. It'

Re: [Intel-gfx] [PATCH] drm/i915: Enable atomic support by default on supported platforms.

2017-02-02 Thread Daniel Stone
Hi, On 2 February 2017 at 07:41, Maarten Lankhorst wrote: > i915 is pretty much feature complete. Support for atomic i915-specific > connector properties is still missing; those properties can (for now) > only be set through the legacy ioctl. > > ILK style watermarks and gen9+ watermarks are hand

Re: [Intel-gfx] [PATCH 00/11] drm/msm: A5XX preemption

2017-02-06 Thread Daniel Stone
Hi, On 6 February 2017 at 17:59, Daniel Vetter wrote: > On Mon, Feb 06, 2017 at 10:39:28AM -0700, Jordan Crouse wrote: >> This initial series implements 4 ringbuffers to give sufficient coverage for >> the >> range of priority levels requested by the GLES and compute extensions. The >> targeted

Re: [Intel-gfx] [PATCH] drm/i915: Enable atomic support by default on supported platforms.

2017-02-09 Thread Daniel Stone
Hey, On 9 February 2017 at 12:49, Maarten Lankhorst wrote: > Op 02-02-17 om 17:26 schreef Daniel Stone: >> On 2 February 2017 at 07:41, Maarten Lankhorst >> wrote: >>> Flip the switch!! >> Not until we have the multi-CRTC event support please. :\ I don't wa

Re: [Intel-gfx] [PATCH i-g-t] lib/core: Fix docs for igt_assert_lt(e)

2015-10-07 Thread Daniel Stone
Hi, On 2 October 2015 at 11:56, Daniel Vetter wrote: > Logical negation is hard. > > Cc: "Morton, Derek J" > Signed-off-by: Daniel Vetter Almost identical to what I had locally. s/second integers/second integer/ and: Reviewed-by: Daniel

Re: [Intel-gfx] [PATCH i-g-t] core_prop_blob ioctl_wrappers: Fix new tests/benchmarks for android

2015-10-13 Thread Daniel Stone
Hi, On 13 October 2015 at 16:35, Daniel Vetter wrote: >> +void igt_require_propblob(int fd) >> +{ >> + struct local_drm_mode_create_blob c; >> + struct local_drm_mode_destroy_blob d; >> + uint32_t blob_data; >> + c.data = &blob_data; >> + c.length = sizeof(blob_data); >> + >>

Re: [Intel-gfx] [PATCH i-g-t 1/2] igt_kms: Set atomic capability bit

2015-10-26 Thread Daniel Stone
Hi, On 23 October 2015 at 09:05, Daniel Vetter wrote: > On Thu, Oct 22, 2015 at 05:27:00PM -0700, Matt Roper wrote: >> diff --git a/lib/igt_kms.c b/lib/igt_kms.c >> index 51d735d..53bfc20 100644 >> --- a/lib/igt_kms.c >> +++ b/lib/igt_kms.c >> @@ -984,6 +984,9 @@ void igt_display_init(igt_display

[Intel-gfx] [PATCH igt v7 0/4] Assert tests, atomic, multi-blob

2015-10-29 Thread Daniel Stone
Hi, Following on from the previous few series, most of which have been merged ... Add some self-tests for igt-assert_*() to make sure they do the right thing, including for fds. This is a bit gross, but does work. Do a Cocci run through the tree. This doesn't actually pick up a lot of the changes

[Intel-gfx] [PATCH igt v7 3/4] tests/core_prop_blob: Add multiple blobs per connection

2015-10-29 Thread Daniel Stone
This should hit the bug fixed in: XXX FIXME INSERT SEANPAUL COMMIT CITE which was introduced with the initial blob support in: commit e2f5d2ea479b9b2619965d43db70939589afe43a Author: Daniel Stone Date: Fri May 22 13:34:51 2015 +0100 drm/mode: Add user blob-creation ioctl

[Intel-gfx] [PATCH igt v7 2/4] tests: Run igt.cocci

2015-10-29 Thread Daniel Stone
Signed-off-by: Daniel Stone --- tests/drm_import_export.c| 2 +- tests/gem_bad_reloc.c| 8 ++ tests/gem_concurrent_all.c | 6 ++-- tests/gem_ctx_exec.c | 9 ++ tests/gem_ctx_param_basic.c | 4 +-- tests/gem_mmap_gtt.c | 8

[Intel-gfx] [PATCH igt v7 4/4] kms_atomic: Add basic atomic modesetting tests

2015-10-29 Thread Daniel Stone
: Fix RELAX_MODE thinko and refresh CRTC state in find_crtc. Co-authored-by: Micah Fedke Signed-off-by: Daniel Stone --- configure.ac |2 +- tests/.gitignore |1 + tests/Makefile.sources |1 + tests/kms_atomic.c | 1345

[Intel-gfx] [PATCH igt v7 1/4] lib/tests: Add igt_assert_*() self-tests

2015-10-29 Thread Daniel Stone
Make sure our igt_assert variants are doing something that looks vaguely like the right thing. Signed-off-by: Daniel Stone --- lib/tests/Makefile.sources | 1 + lib/tests/igt_simple.c | 173 + 2 files changed, 174 insertions(+) create mode

[Intel-gfx] [PATCH igt v7.1 1/4] lib/tests: Add igt_assert_*() self-tests

2015-10-29 Thread Daniel Stone
Make sure our igt_assert variants are doing something that looks vaguely like the right thing. v7.1: Rename to igt_assert, add to .gitignore. Signed-off-by: Daniel Stone --- lib/tests/.gitignore | 1 + lib/tests/Makefile.sources | 1 + lib/tests/igt_assert.c | 173

[Intel-gfx] [PATCH] drm/i915: Fix locking around GuC firmware load

2015-11-03 Thread Daniel Stone
The GuC firmware load requires struct_mutex to create a GEM object, but this collides badly with request_firmware. Move struct_mutex locking down into the loader itself, so we don't hold it across the entire load process, including request_firmware. Signed-off-by: Daniel Stone --- driver

Re: [Intel-gfx] skylake + drm-next - warn city

2015-11-03 Thread Daniel Stone
Hi Patrik, On 3 November 2015 at 21:21, Patrik Jakobsson wrote: > On Tue, Nov 3, 2015 at 11:35 AM, Imre Deak wrote: >> All of Mika's patches [1] have an R-b, except patch 7/7. >> [2] has R-b's as well except for patch 1/13. Sunil any update on that? > > It could be that Dave is hitting the warm

Re: [Intel-gfx] [PATCH 2/7] drm/i915/skl: Refuse to load outdated dmc firmware

2015-11-03 Thread Daniel Stone
Hi Mika, On 30 October 2015 at 15:52, Mika Kuoppala wrote: > There is known issue on GT interrupt delivery with DC6 and > firmwares <1.21. There is a suspicion that this causes > spurious gpu hangs on driver init and with some workloads, > as upgrading the firmware to 1.21 makes these problems >

Re: [Intel-gfx] [PATCH 2/7] drm/i915/skl: Refuse to load outdated dmc firmware

2015-11-04 Thread Daniel Stone
Hi Rodrigo, On 3 November 2015 at 23:23, Vivi, Rodrigo wrote: > On Tue, 2015-11-03 at 21:49 +0000, Daniel Stone wrote: >> On 30 October 2015 at 15:52, Mika Kuoppala >> wrote: >> > With < 1.23 there is a palette and dmc ram corruption issue >> &

Re: [Intel-gfx] skylake + drm-next - warn city

2015-11-04 Thread Daniel Stone
Hi, On 3 November 2015 at 22:08, Patrik Jakobsson wrote: > On Tue, Nov 3, 2015 at 10:47 PM, Daniel Stone wrote: >> I tested this on top of the three series (Mika's, Imre's, and yours), >> but hit some power domain warnings and I never come back from DPMS. >> That

Re: [Intel-gfx] [PATCH v3 00/13] drm/i915: Redesign dmc firmware loading.

2015-11-04 Thread Daniel Stone
mit message, patches 1,4,12 have changes from me, so > someone else would need to review those. > > I tested this on BXT and SKL, on SKL-Y with additional patches from > Patrik and Paulo I could reach PC10 state. Tested-by: Daniel Stone # SKL Cheers, Daniel _

Re: [Intel-gfx] [PATCH 0/8] Skylake DMC/DC-state fixes and redesign

2015-11-04 Thread Daniel Stone
ht be forgotten. The third from Ville helps with handling DC off when > doing Aux A communication. Tested-by: Daniel Stone # SKL The intel_atomic_commit changes obviously conflict with Maarten's async-commit-completion work, but when trivially rebased on top it work

Re: [Intel-gfx] [PATCH 1/7] drm/i915/skl: Store and print the DMC firmware version we load

2015-11-04 Thread Daniel Stone
es (all 7): Tested-by: Daniel Stone # SKL Cheers, Daniel ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 6/8] drm/i915/skl: Turn DC handling into a power well

2015-11-05 Thread Daniel Stone
Hi, On 3 November 2015 at 12:31, Patrik Jakobsson wrote: > diff --git a/drivers/gpu/drm/i915/intel_display.c > b/drivers/gpu/drm/i915/intel_display.c > index c6d60b8..e401871 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -13296,6 +13296,9 @

Re: [Intel-gfx] [PATCH 4/8] drm/i915: Add a modeset power domain

2015-11-05 Thread Daniel Stone
Hi, On 3 November 2015 at 12:31, Patrik Jakobsson wrote: > We need DC5/DC6 to be disabled around modesets to prevent confusing the > DMC. Also, we've run out of bits in the 32 bit power domain mask so now > it's a 64 bit mask. There are quite a lot of users in intel_display.c (search for put_dom

[Intel-gfx] [PATCH] drm/i915: Use extended power domain bitmask

2015-11-05 Thread Daniel Stone
niels: New; only required when working against Patrik/Imre's tree.] Signed-off-by: Daniel Stone --- drivers/gpu/drm/i915/intel_display.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drive

Re: [Intel-gfx] [PATCH 4/8] drm/i915: Add a modeset power domain

2015-11-06 Thread Daniel Stone
Hi, On 5 November 2015 at 17:12, Patrik Jakobsson wrote: > On Thu, Nov 5, 2015 at 4:02 PM, Daniel Stone wrote: >> On 3 November 2015 at 12:31, Patrik Jakobsson >> wrote: >>> We need DC5/DC6 to be disabled around modesets to prevent confusing the >>> DMC. Also

Re: [Intel-gfx] [PATCH 4/8] drm/i915: Add a modeset power domain

2015-11-06 Thread Daniel Stone
Hi, On 6 November 2015 at 14:17, Imre Deak wrote: > On pe, 2015-11-06 at 13:53 +0000, Daniel Stone wrote: >> On 5 November 2015 at 17:12, Patrik Jakobsson >> wrote: >> > Ah yes, we carry the mask around there as well. Thanks for catching >> > that. I like the

Re: [Intel-gfx] [PATCH 4/8] drm/i915: Add a modeset power domain

2015-11-06 Thread Daniel Stone
Hi, On 6 November 2015 at 13:53, Daniel Stone wrote: > On 5 November 2015 at 17:12, Patrik Jakobsson > wrote: >> On Thu, Nov 5, 2015 at 4:02 PM, Daniel Stone wrote: >>> On 3 November 2015 at 12:31, Patrik Jakobsson >>> wrote: >>>> We need DC5/DC6

Re: [Intel-gfx] [PATCH 04/31] drm/i915: Handle actual IPS enabled state.

2015-11-07 Thread Daniel Stone
Hi, On 5 November 2015 at 18:49, Rodrigo Vivi wrote: > +void intel_ips_init(struct drm_i915_private dev_priv) That would be *dev_priv. Cheers, Daniel ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listi

Re: [Intel-gfx] [PATCH 07/31] drm/i915: IPS Sysfs interface.

2015-11-09 Thread Daniel Stone
Hi Rodrigo, On 5 November 2015 at 18:49, Rodrigo Vivi wrote: > diff --git a/drivers/gpu/drm/i915/intel_ips.c > b/drivers/gpu/drm/i915/intel_ips.c > index b867aba..6bc5c55 100644 > --- a/drivers/gpu/drm/i915/intel_ips.c > +++ b/drivers/gpu/drm/i915/intel_ips.c > @@ -105,18 +105,21 @@ bool intel_i

Re: [Intel-gfx] [PATCH 00/31] IPS/DRRS/PSR rework with PSR enabled by default

2015-11-09 Thread Daniel Stone
Hi Rodrigo, On 5 November 2015 at 18:49, Rodrigo Vivi wrote: > So I'm confident we can enable PSR back by default now. > > All comments, ideas, suggestions and even bikesheddings are pretty welcome. You did ask for it ... I've been looking at pulling this on top of Maarten's tree, and currently

Re: [Intel-gfx] [PATCH 00/31] IPS/DRRS/PSR rework with PSR enabled by default

2015-11-10 Thread Daniel Stone
Hi Rodrigo, On 10 November 2015 at 15:57, Vivi, Rodrigo wrote: > On Mon, 2015-11-09 at 11:47 +0000, Daniel Stone wrote: >> I've been looking at pulling this on top of Maarten's tree, and > > I'm afraid I didn't followed completely your idea and maybe beca

Re: [Intel-gfx] [PATCH 06/31] drm/i915: Fix IPS disable sequence.

2015-11-10 Thread Daniel Stone
Hi, On 5 November 2015 at 18:49, Rodrigo Vivi wrote: > /** > + * intel_ips_disable_if_alone - Disable IPS if alone in the pipe. > + * @crtc: intel crtc > + * > + * This function should be called when primary plane is being disabled. > + * It checks if there is any other plane enabled on the pipe

Re: [Intel-gfx] [PATCH 06/31] drm/i915: Fix IPS disable sequence.

2015-11-12 Thread Daniel Stone
Hi, On 11 November 2015 at 23:31, Vivi, Rodrigo wrote: > On Tue, 2015-11-10 at 16:34 +0000, Daniel Stone wrote: >> On 5 November 2015 at 18:49, Rodrigo Vivi >> wrote: >> > +void intel_ips_disable_if_alone(struct intel_crtc *crtc) >> > +{ >> > +

Re: [Intel-gfx] [PATCH 00/13] Yet another FBC series, v3 part 1

2015-11-13 Thread Daniel Stone
Hi Paulo, On 4 November 2015 at 19:10, Paulo Zanoni wrote: > So Ville pointed a problem on patch 02/26 of the previous series, and the nice > fix for that would make me rebase most of the subsequent patches. In order to > avoid blocking the other patches on the review of patch 02 and in order to

Re: [Intel-gfx] [PATCH 00/13] Yet another FBC series, v3 part 1

2015-11-13 Thread Daniel Stone
Hey, On 13 November 2015 at 16:36, Zanoni, Paulo R wrote: > Em Sex, 2015-11-13 às 15:49 +0000, Daniel Stone escreveu: >> On 4 November 2015 at 19:10, Paulo Zanoni >> wrote: >> > So Ville pointed a problem on patch 02/26 of the previous series, >> > and the nic

Re: [Intel-gfx] [PATCH 04/31] drm/i915: Handle actual IPS enabled state.

2015-11-13 Thread Daniel Stone
Hi Rodrigo, On 5 November 2015 at 18:49, Rodrigo Vivi wrote: > With this we know if IPS is actually enabled. > It might not be activated on BDW since Hardware take > the decision and do its transition. However we have > the visibility of the state on our driver what we didn't > had until this pat

Re: [Intel-gfx] [PATCH 04/31] drm/i915: Handle actual IPS enabled state.

2015-11-13 Thread Daniel Stone
Hi, On 13 November 2015 at 18:38, Ville Syrjälä wrote: > On Fri, Nov 13, 2015 at 06:20:00PM +0000, Daniel Stone wrote: >> Maybe that's not the best approach, but I think we need to find a way >> to take the synchronous vblank wait out of the modeset path. Using a >> w

Re: [Intel-gfx] [PATCH 04/31] drm/i915: Handle actual IPS enabled state.

2015-11-13 Thread Daniel Stone
On 13 November 2015 at 20:28, Ville Syrjälä wrote: > On Fri, Nov 13, 2015 at 06:55:18PM +0000, Daniel Stone wrote: >> On 13 November 2015 at 18:38, Ville Syrjälä >> wrote: >> > On Fri, Nov 13, 2015 at 06:20:00PM +, Daniel Stone wrote: >> >> Maybe that

Re: [Intel-gfx] [PATCH] drm/i915: Clear intel_crtc->atomic before updating it.

2015-11-16 Thread Daniel Stone
crtc_state->mode_changed = true; How about doing it in intel_crtc_duplicate_state instead? Should be a bit more bulletproof/correct against various other failure modes. But I guess this does work, and it is all going away shortly, so: Reviewed-by: Daniel Stone I th

Re: [Intel-gfx] i915 Skylake: "Invalid ROM contents"

2015-11-18 Thread Daniel Stone
Hi, On 18 November 2015 at 15:59, Andy Lutomirski wrote: > On Wed, Nov 18, 2015 at 2:59 AM, Ville Syrjälä > wrote: >> On Tue, Nov 17, 2015 at 11:43:25AM -0800, Andy Lutomirski wrote: >>> Typing: >>> >>> # cat /sys/devices/pci:00/:00:02.0/rom >>> >>> Provokes: >>> >>> i915 :00:02.0: I

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Also delay first activation for SKL+

2015-11-19 Thread Daniel Stone
Hi Rodrigo, On 19 November 2015 at 00:39, Rodrigo Vivi wrote: > @@ -441,15 +438,14 @@ void intel_psr_enable(struct intel_dp *intel_dp) > /* > * FIXME: Activation should happen immediately since this function > * is just called after pipe is fully trained and enabled. > -

Re: [Intel-gfx] [PATCH] drm/atomic-helper: Check encoder/crtc constraints

2015-11-19 Thread Daniel Stone
eading this chunk of the commit message, I also went looking for possible_clones and came to the same conclusion. On the grounds that great minds think alike (or fools never differ, not sure): Reviewed-by: Daniel Stone Cheers, Daniel ___ Intel-gfx maili

Re: [Intel-gfx] [RFC 2/2] drm/i915: Render decompression support for Gen9

2015-12-23 Thread Daniel Stone
Hi Vandana, On 23 December 2015 at 03:20, Kannan, Vandana wrote: > How does VT switch work in case of rotation, setting different pixel format, > etc? Pixel format is a property of the framebuffer, not a per-plane property, so is unaffected. Rotation is generic, so there is specific code to hand

Re: [Intel-gfx] [PATCH 1/6] drm: Create Color Management DRM properties

2015-12-23 Thread Daniel Stone
Hi, On 21 December 2015 at 12:38, Daniel Vetter wrote: > On Fri, Dec 18, 2015 at 04:53:28PM +0000, Daniel Stone wrote: >> > +struct drm_r32g32b32 { >> > + /* >> > +* Data is in U8.24 fixed point format. >> > +* All platfor

Re: [Intel-gfx] [PATCH i-g-t] tests/kms_color:Color i-g-t

2015-12-29 Thread Daniel Stone
Hi Dhanya, On 29 December 2015 at 03:59, Dhanya Pillai wrote: > This patch will verify color correction capability of a display > driver. > Gamma/CSC/De-gamma for SKL/BXT supported. The commit message here seems odd, given this: > + switch (prop_name) { > +

Re: [Intel-gfx] [PATCH] drm: Clean up pending events in the core

2016-01-11 Thread Daniel Stone
struct drm_device *dev, struct drm_pending_event >> *e) { >> assert_spin_locked(&dev->event_lock); >> >> + if (!e->file_priv) { > > I don't think this could happen before this patch as e->file_priv is > dereferenced below, and I don&

Re: [Intel-gfx] [PATCH 1/6] drm: Create Color Management DRM properties

2016-01-11 Thread Daniel Stone
Hi, On 5 January 2016 at 10:23, Daniel Vetter wrote: > On Wed, Dec 23, 2015 at 09:47:00AM +0000, Daniel Stone wrote: >> It's not even a legacy vs. atomic thing, this can happen in >> pure-atomic as well. Same as the render-compression plane property >> that I ju

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add Backlight Control using DPCD for eDP connectors (v5)

2016-01-12 Thread Daniel Stone
On 12 January 2016 at 15:59, Yetunde Adebisi wrote: > + memset(intel_dp->edp_dpcd, 0, sizeof(intel_dp->edp_dpcd)); gcc should've warned you about this; you're memsetting too small a size. Cheers, Daniel ___ Intel-gfx mailing list Intel-gf

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add Backlight Control using DPCD for eDP connectors (v5)

2016-01-12 Thread Daniel Stone
On 12 January 2016 at 17:18, Jani Nikula wrote: > On Tue, 12 Jan 2016, Daniel Stone wrote: >> On 12 January 2016 at 15:59, Yetunde Adebisi >> wrote: >>> + memset(intel_dp->edp_dpcd, 0, sizeof(intel_dp->edp_dpcd)); >> >> gcc should'

Re: [Intel-gfx] [PATCH v2 3/9] drm/i915: Remove intel_crtc->atomic.disable_ips.

2016-01-18 Thread Daniel Stone
Hi, On 18 January 2016 at 12:10, Maarten Lankhorst wrote: > Op 13-01-16 om 14:02 schreef Ville Syrjälä: >> Also I'm not sure it isn't a step backwards. Based on the spec we should >> be able to keep IPS enabled as long as one plane (possibly referring to >> either primary or sprite) is enabled on

Re: [Intel-gfx] [RFC] drm/i915: Render decompression support for Gen9 and above

2016-01-19 Thread Daniel Stone
Hi, On 10 September 2015 at 16:02, Daniel Vetter wrote: > On Wed, Sep 09, 2015 at 10:04:23AM -0700, Jesse Barnes wrote: >> On 09/09/2015 09:36 AM, Smith, Gary K wrote: >> > I don't understand why this is an issue. Surely the fb is to describe >> > static state about the buffer, not dynamic state.

Re: [Intel-gfx] [PATCH i-g-t] lib/igt_kms: Add COMIT_ATOMIC to igt_display_commit2()

2016-01-20 Thread Daniel Stone
Hi, On 20 January 2016 at 14:52, Maarten Lankhorst wrote: > Op 15-01-16 om 10:06 schreef Marius Vlad: >> + /* populate plane req */ >> + igt_atomic_populate_plane_req(req, plane, IGT_PLANE_CRTC_ID, >> crtc_id); > Set crtc_id and fb_id to 0 when disabling plane. >> +

Re: [Intel-gfx] [PATCH 1/6] drm/i915: Extract out gamma table and CSC to their own file

2016-01-21 Thread Daniel Stone
Hi Lionel, On 21 January 2016 at 15:03, Lionel Landwerlin wrote: > + /* Workaround : Do not read or write the pipe palette/gamma data while > +* GAMMA_MODE is configured for split gamma and IPS_CTL has IPS > enabled. > +*/ > + if (IS_HASWELL(dev) && intel_crtc->config

Re: [Intel-gfx] [PATCH 0/6] Pipe level color management

2016-01-22 Thread Daniel Stone
ous set of patches by Shashank Sharma and takes > into account of the comments by Daniel Stone & Daniel Vetter. This is a lot more tractable than previous series, thanks! I think a lot of the confusion I had around this was from the number of hardware-specific features stuffed into this,

Re: [Intel-gfx] [PATCH 0/6] Pipe level color management

2016-01-22 Thread Daniel Stone
Hi, On 22 January 2016 at 16:21, Daniel Vetter wrote: > On Fri, Jan 22, 2016 at 04:06:15PM +, Lionel Landwerlin wrote: >> On 22/01/16 15:04, Daniel Stone wrote: >> >Now with everything just using split-gamma mode, I'm much happier with >> >how this is look

Re: [Intel-gfx] [PATCH 2/6] drm: introduce color correction properties

2016-01-25 Thread Daniel Stone
Hi, On 22 January 2016 at 21:20, Matt Roper wrote: > Probably should have noticed/commented on this on your previous > iteration, but should we also restrict these new properties to be > atomic-only? I thought there was a consensus a while back that new > functionality would only be exposed for

Re: [Intel-gfx] [RFC] drm/i915: Render decompression support for Gen9 and above

2016-01-25 Thread Daniel Stone
; Thanks > Gary > > > > > -Original Message- > From: Jesse Barnes [mailto:jbar...@virtuousgeek.org] > Sent: Monday, January 25, 2016 5:39 PM > To: Daniel Stone ; Daniel Vetter > Cc: intel-gfx@lists.freedesktop.org; Thierry Reding > ; Smith, Gary K > Subjec

Re: [Intel-gfx] [RFC] drm/i915: Render decompression support for Gen9 and above

2016-01-25 Thread Daniel Stone
irely. i.e. this property is useless for open-source userspace, which can never hint that render compression has been resolved. So fine by me if you want to merge it I guess, and we'll just ignore it. Cheers, Daniel > Thanks > Gary > > > -Original Message- > From: Daniel

Re: [Intel-gfx] [PATCH 1/2] igt: Disable igt_clflush_range() implementation on ARM builds.

2016-01-25 Thread Daniel Stone
Hi, On 25 January 2016 at 18:40, Eric Anholt wrote: > Daniel has suggested that I put vc4 testing into igt, since it's got > the piglit integration and KMS coverage already. This gets the ccore > building so that I can start writing tests. Works for me. Reviewed-by: Daniel

Re: [Intel-gfx] [PATCH 1/2] igt: Disable igt_clflush_range() implementation on ARM builds.

2016-01-25 Thread Daniel Stone
Wait, no, thought of a bikeshed: #if defined(__i386__) || defined(__x86_64__) On 25 January 2016 at 19:30, Daniel Stone wrote: > Hi, > > On 25 January 2016 at 18:40, Eric Anholt wrote: >> Daniel has suggested that I put vc4 testing into igt, since it's got >> the

[Intel-gfx] [PATCH] build: Disable x86-specific utilities on non-x86

2016-01-25 Thread Daniel Stone
Some bits can't be built on non-x86 architectures, mostly because they require x86-specific assembly primitives. Disable these by default on non-x86 architectures. Signed-off-by: Daniel Stone --- Makefile.am | 10 +++--- configure.ac | 37 - 2

Re: [Intel-gfx] [PATCH 2/2] configure.ac: Add a configure arg for the overlay.

2016-01-25 Thread Daniel Stone
Hi, On 25 January 2016 at 18:40, Eric Anholt wrote: > It's autodetected if its dependencies are present, but it doesn't > build for ARM, nor am I interested in it for now. The one I just sent auto-disables it when not building on x86. Cheers, Daniel _

Re: [Intel-gfx] [PATCH 0/6] Pipe level color management

2016-01-26 Thread Daniel Stone
Hi, On 22 January 2016 at 15:04, Daniel Stone wrote: > On 21 January 2016 at 15:03, Lionel Landwerlin > wrote: >> Hi, >> >> This serie introduces pipe level color management through a set of properties >> attached to the CRTC. It also provides an implementati

Re: [Intel-gfx] [PATCH v2 2/3] drm: Create a format/modifier blob

2017-05-23 Thread Daniel Stone
Hi Ben, On 16 May 2017 at 22:31, Ben Widawsky wrote: > Updated blob layout (Rob, Daniel, Kristian, xerpi) If you take the attached fixup, this is: Reviewed-by: Daniel Stone The rest of the series looks fine to me, so you can take my Acked-by, but I'm currently off work sick and am a

<    1   2   3   4   >