History log of /drivers/gpu/drm/radeon/si.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a00d69ed0676b53e7e5c8d086d47a92f15b91e38 28-Jun-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon: fix VM page table setup on SI

commit c21b328ea8c7c71cd2daf50557db440bbaa7ef55 upstream.

Cayman and trinity allow for variable sized VM page
tables, but SI requires that all page tables be the
same size. The current code assumes variablely sized
VM page tables so SI may end up with part of each page
table overlapping with other memory which could end
up being interpreted by the VM hw as garbage.

Change the code to better accomodate SI. Allocate enough
space for at least 2 full page tables and always set
last_pfn to max_pfn on SI so each VM is backed by a full
page table. This limits us to only 2 VMs active at any
given time on SI. This will be rectified and the code can
be reunified once we move to two level page tables.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
/drivers/gpu/drm/radeon/si.c
5273db706f8b673902638fee7f907909ed6ae3f9 13-Apr-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/si: add missing radeon_bo_unreserve in si_rlc_init() v2

Forget to unreserve after pinning. This can lead to problems in
soft reset and resume.

v2: rework patch as per Michel's suggestion.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
c420c7454f9c13d2dc706516d13fb9329ccacd05 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add support for ucode loading on trinity (v2)

v2: fix check for MC ucode from Tom.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
ca7db22bc59ced2f180f37db8470140225d75860 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: DCE6.1 watermark updates for TN

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
9b136d514e3537a41e506f5306cd92d6d142f8bb 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: fill in startup/shutdown callbacks for SI

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
25a857fbe973bdcc7df0df2e0c8f9c6e1ab0e475 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add support for interrupts on SI

This is mostly identical to evergreen/ni, however
there are some additional fields in the IV vector
for RINGID and VMID.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
347e7592beb0abd56a11ec16ca8aba9f60681f13 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: Add support for RLC init on SI

RLC handles the interrupt controller and other tasks
on the GPU.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
2ece2e8b7d02040a59bc2f3a7f192c0521e2b867 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add IB and fence dispatch functions for SI

Support both IBs (DE) and CONST IBs (CE).

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
48c0c902e2e6ca07b8c7ae1da48a7bb59eb88de9 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add support for CP setup on SI

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
8b074dd64053d0bf93eed0638b74a8fec401577f 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add support for MC ucode loading on SI

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
0f0de06c809eac783ddb4ddfc52c9db43af94b4f 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add ucode loading for SI

Currently the driver required 5 sets of ucode:
1. pfp - pre-fetch parser, part of the CP
2. me - micro engine, part of the CP
3. ce - constant engine, part of the CP
4. rlc - interrupt controller
5. mc - memory controller

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
498dd8b35ae798c3a6c6c9da029db1806dc2cf93 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add VM CS checker for SI

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
d2800ee59ed28a5eaf3a4a8645feca040eacf7df 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add support for MC/VM setup on SI

Sets up the VM and adds support for the new VM ioctls.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
c476dde2eda8c3e1af676fe3702b9fce98904cfb 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: Add support for SI GPU reset

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
0a96d72be9ce6c5080f5b08a07f8e34b81b575ba 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add gpu init support for SI

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
1bd47d2e16573496efd2fd0ec36f57031d478f87 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add support for internal thermal sensor on SI

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c
43b3cd995f304c983393b7ed6563f09781bc41d0 20-Mar-2012 Alex Deucher <alexander.deucher@amd.com> drm/radeon/kms: add initial DCE6 display watermark support

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/gpu/drm/radeon/si.c