Re: [PATCH] i915: Add I915_PARAM_REVISION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 March 2015 at 18:02, Daniel Vetter <daniel@xxxxxxxx> wrote:
> On Wed, Mar 04, 2015 at 02:37:09PM +0000, Neil Roberts wrote:
>> This is a new parameter for DRM_I915_GETPARAM to query the GPU
>> revision.
>>
>> Signed-off-by: Neil Roberts <neil@xxxxxxxxxxxxxxx>
>> ---
>>  include/drm/i915_drm.h | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
>> index 15dd01d..943a9d9 100644
>> --- a/include/drm/i915_drm.h
>> +++ b/include/drm/i915_drm.h
>> @@ -340,6 +340,7 @@ typedef struct drm_i915_irq_wait {
>>  #define I915_PARAM_HAS_EXEC_HANDLE_LUT   26
>>  #define I915_PARAM_HAS_WT                     27
>>  #define I915_PARAM_CMD_PARSER_VERSION         28
>
> This gap isn't good and means you've manually added this line. Please use
> the make headers_install target from the kernel and update the entire
> i915_drm.h file from the generated one.
>
Up-to recently it was broken, so I'm guessing that no-one ran it since
the great uapi header move.
Would be nice if we can go back to using it - after all that's why
I've fixed it :-)

-Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux